Originariamente inviato da Lak3d
infatti, è per quello che volevo capire cosa intendesse...
impensabile da fare diversamente... prova a fare diversamente quello che e' in neretto e che puo' fare questa funzione...
codice:
# General date syntax: Common rules.
# Calendar date items: 19 Dec 1994.
# Time of day items: 9:20pm.
# Time zone items: est, pdt, gmt.
# Day of week items: Monday and others.
# Relative items in date strings: next tuesday, 2 years ago, last monday.. etc.
# Pure numbers in date strings: 19931219, 1440.
# Seconds since the Epoch: @1078100502.
# Specifying time zone rules: TZ="America/New_York", TZ="UTC0".
Considerando che passi stringhe e ricevi timestamp e non viceversa...