A list of products available on this site
Documentation for XtraMania's xtras
Prices and links to the online store
Xtras, PDFs, samples
Have a question? Ask us!
Contacts
Logo. www.xtramaina.com  
Home Search E-mail
ADOxtra Reference/FloatToDateTimeList()

FloatToDateTimeList()

Syntax

lstDate=FloatToDateTimeList(fltDate)
or
lstDate=FloatToDateTimeList(fltDate)

Parameters

fltDate - a float number which represent date/time value.

Returns

PropertyList value that represents specified by fltDate date/time in "human readable" form: [#year: 2001, #month: 2, #day: 23, #DayOfWeek: 5, #Hour: 19, #Minute: 42, #Second: 23].
The #DayOfWeek property of returned list contains the day of the week in the range Sunday = 0, Monday = 1, and so on.

String: if failed, returns string with error description, which indicates that conversion cannot be performed. This occurs if you specify a date/time value out of the present range (big positive or big negative).

Description

Converts float representation of date/time value into the "human readable" date/time property list. Use this function to convert values of table fields of date/time type.

Site homeSearchContact author © Eugene Shoustrov. www.xtramania.com