I have a script that communicates with a MySql-database. But I dont know how to put the date properly. The date should be the current date! I want it like: YYYY-MM-DD.
Right now it is this way: set date [unixtime]
...but that only gives some numbers like 1117240297.
unixtime
Returns: a long integer which represents the number of seconds that have
passed since 00:00 Jan 1, 1970 (GMT).
Module: core
ctime <unixtime>
Returns: a formatted date/time string based on the current locale
settings from the unixtime string given; for example "Fri Aug 3
11:34:55 1973"
Module: core
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM