Updating Dates or Times with Pandora

From SmartWiki
Revision as of 17:14, 5 August 2010 by Cameron (talk | contribs)

Jump to: navigation, search

Dates are stored in the SmartSimple database in the following format: yyyy-mm-dd

Standard Fields

The startdate and enddate standard fields also store values for the starttime and endtime respectively. Thus you must include the times as well as the dates (if the times are enabled). The format should be:

yyyy-mm-dd HH:mm:ss

Where HH is the hour using the 24hr format.

ie: 2012-01-31 17:30:00

Note: if you omit the time when updating the startdate or enddate standard fields, any times that had been stored in the starttime or endtime will be reset to 00:00:00

Custom Fields

Accordingly when updating date fields (both standard fields and custom fields) using Pandora the format of the value sent must be yyyy-mm-dd



See Also