256
edits
Line 195: | Line 195: | ||
date("H:i:s"); // Returns current time, e.g. "19:50:37" | date("H:i:s"); // Returns current time, e.g. "19:50:37" | ||
date("Y-m-d", "1995-10-03T20:30:37"); // Returns date "1995-10-03" | date("Y-m-d", "1995-10-03T20:30:37"); // Returns date "1995-10-03" | ||
==== fetchvar ==== | |||
''number'' '''fetchvar'''(''string'' variable); | |||
Returns the variable given as an argument. | |||
Example: | |||
@test1 = "Hi!" | |||
fetchvar("test" + 1) // Returns "Hi!" | |||
==== if ==== | ==== if ==== |
edits