About: API date   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

date() is a reference to the os.date function. It is put in the global table as the os module is not available. date ([format [, time]]) It returns a string or a table containing the user's machine's current date and time (or the time represented by time), formatted according to the given string format. If one wishes to supply your own format string, then it uses the same rules as strftime(). The special string * t tells the date() function to return a table. This is a mirror of the LUA function os.date(). date("%m/%d/%y %H:%M:%S") to display the date in the default PC format -or-

AttributesValues
rdfs:label
  • API date
rdfs:comment
  • date() is a reference to the os.date function. It is put in the global table as the os module is not available. date ([format [, time]]) It returns a string or a table containing the user's machine's current date and time (or the time represented by time), formatted according to the given string format. If one wishes to supply your own format string, then it uses the same rules as strftime(). The special string * t tells the date() function to return a table. This is a mirror of the LUA function os.date(). date("%m/%d/%y %H:%M:%S") to display the date in the default PC format -or-
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • date() is a reference to the os.date function. It is put in the global table as the os module is not available. date ([format [, time]]) It returns a string or a table containing the user's machine's current date and time (or the time represented by time), formatted according to the given string format. If one wishes to supply your own format string, then it uses the same rules as strftime(). The special string * t tells the date() function to return a table. This is a mirror of the LUA function os.date(). Note that the default format returned when calling the date() function with no parameters will be different depending on whether the game is running on a PC or a Macintosh computer. If you want your addon to be compatible with both systems, you should therefore not use date() without parameters, instead, use date("%m/%d/%y %H:%M:%S") to display the date in the default PC format -or- date("%a %b %d %H:%M:%S %Y") to display the date in the default Macintosh format
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software