Date.SQLDateTime

From Xojo Documentation

Revision as of 23:01, 11 March 2010 by Npalardy (talk | contribs) (1 revision)

Property (As String )
aDate.SQLDateTime = newStringValue
or
StringValue = aDate.SQLDateTime

New in 5.5

Supported for all project types and targets.

Gets and sets the date in SQL date/time format, YYYY-MM-DD HH:MM:SS. Passing a bad string will result in an UnsupportedFormatException.

For example: 2008-09-03 13:39:16