Posts Tagged 'time'

Working with date and time fields

Posted by:

Often, when developing web applications, dates and times end up being displayed using three separate drop-down fields; meaning one for the month, one for the day, and another one for the year.

The standard format for WWG Date and Time field is:

yyyy-MM-dd HH:mm:ss

However, it is extremely easy to convert the drop downs:

  1. Set the ‘field values’ (in the drop down fields) to 01-12 for the months, and 01-31 for the days
  2. Create a string in the format yyyy-MM-dd HH:mm:ss
  3. Assign that string to the ...
Continue Reading →