Page 1 of 1

[enhancement]Date and Time

Posted: Sep 25th, '17, 10:52
by SimpleSi
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

Re: [enhancement]Date and Time

Posted: Sep 28th, '17, 06:12
by Picochilla
Yes, the date/time block should be improved a bit.