You're relying on your users to give you a date in a pretty specific format. They're likely not to oblige.
You can either write the form to give the pieces of the date in separate fields, maybe with selections or js validation, or else generate the timestamp yourself with a call to scalar gmtime. If that format doesn't suit you, consult 'man strftime' and call POSIX::strftime $fmt, gmtime;
After Compline,
Zaxo
In reply to Re: scalar localtime() to timestamp
by Zaxo
in thread scalar localtime() to timestamp
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |