1,584
edits
DrinkyBird (talk | contribs) No edit summary |
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
||
Line 1: | Line 1: | ||
{{Template:ACSWarning}} | {{Template:ACSWarning}} | ||
str '''Strftime'''(int timestamp, str format['', int utc'']) | str '''Strftime''' (int timestamp, str format['', int utc'']) | ||
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
Line 10: | Line 10: | ||
=== Return value === | === Return value === | ||
A human-readable string from the given timestamp, formatted using the format parameter. | A human-readable string from the given timestamp, formatted using the ''format'' parameter. | ||
Note that due to ACS's limitations, timestamps are suspectible to the [ | Note that due to ACS's limitations, timestamps are suspectible to the [[wikipedia:Year 2038 problem|year 2038 problem]]. | ||
== | == Examples == | ||
This prints something like <code>{{CURRENTMONTHNAME}} {{CURRENTDAY}} {{CURRENTYEAR}}</code> to the screen. | This prints something like <code>{{CURRENTMONTHNAME}} {{CURRENTDAY}} {{CURRENTYEAR}}</code> to the screen. | ||
Line 24: | Line 24: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See | == See also == | ||
*[[SystemTime]] | * [[SystemTime]] | ||
*[[GetTimeProperty]] | * [[GetTimeProperty]] | ||
[[Category: ACS functions]] |