We (as in everyone) prob wants the current time in lots of different formats
Rather than everyone writing their own routine to format the data and time, my suggestion is to add a drop down menu to allow it to report in different formats
My initial suggestions would be
current one (for compatibility so far)
plain (YYYYMMDDHHMMSS)
Human readable (DD MM YYYY HH:MM:SS) - and the strange way people in North America write the date down as well :)
Year (YYYY)
Month (MM)
Day (DD)
etc
I'm also thinking it might be good to have a second parameter for leading zeros == true/false but can live without that if we can have a plain YYYYMMDDHHMMSS returned as a string
If we can't have a menu version - can I make a request for one called say "timestamp" that would return YYYYMMDDHHMMSS please
Simon
[enhancement]Date and Time
Moderator: MSandro
- Picochilla
- Posts: 28
- Joined: Sep 23rd, '17, 17:44
Re: [enhancement]Date and Time
Yes, the date/time block should be improved a bit.