Difference between revisions of "MTOD()"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to convert a date string in the format DD-Mmm-YYYY to a date data type | Function to convert a date string in the format DD-Mmm-YYYY to a date data type | ||
− | |||
==Syntax== | ==Syntax== | ||
MTOD(<expC>) | MTOD(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
[[AMPM()]], [[CDOW()]], [[CTOD()]], [[CMONTH()]], [[DATE()]], [[DAY()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOM()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[MONTH()]], [[SET CENTURY]], [[SET DATE]], [[SET MARK]], [[STOD()]], [[TIME()]], [[VTOD()]], [[YEAR()]] | [[AMPM()]], [[CDOW()]], [[CTOD()]], [[CMONTH()]], [[DATE()]], [[DAY()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOM()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[MONTH()]], [[SET CENTURY]], [[SET DATE]], [[SET MARK]], [[STOD()]], [[TIME()]], [[VTOD()]], [[YEAR()]] | ||
− | |||
==Description== | ==Description== | ||
The MTOD() function is used to convert date strings in the format DD-Mmm-YYYY to date data types. The returned date will be in the format determined by SET CENTURY, SET DATE and SET MARK. | The MTOD() function is used to convert date strings in the format DD-Mmm-YYYY to date data types. The returned date will be in the format determined by SET CENTURY, SET DATE and SET MARK. | ||
If <expC> is not a valid date string, MTOD() will return an empty date. The DD-Mmm-YYYY format is the calendar date format in Lianja Mirage. | If <expC> is not a valid date string, MTOD() will return an empty date. The DD-Mmm-YYYY format is the calendar date format in Lianja Mirage. | ||
− | |||
==Example== | ==Example== | ||
Line 22: | Line 18: | ||
10/10/2008 | 10/10/2008 | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== |
Revision as of 13:04, 11 December 2012
Purpose
Function to convert a date string in the format DD-Mmm-YYYY to a date data type
Syntax
MTOD(<expC>)
See Also
AMPM(), CDOW(), CTOD(), CMONTH(), DATE(), DAY(), DMY(), DOW(), DTOC(), DTOM(), DTOS(), DTOV(), MDY(), MONTH(), SET CENTURY, SET DATE, SET MARK, STOD(), TIME(), VTOD(), YEAR()
Description
The MTOD() function is used to convert date strings in the format DD-Mmm-YYYY to date data types. The returned date will be in the format determined by SET CENTURY, SET DATE and SET MARK.
If <expC> is not a valid date string, MTOD() will return an empty date. The DD-Mmm-YYYY format is the calendar date format in Lianja Mirage.
Example
set century on ? mtod("10-Oct-2008") 10/10/2008
Products
Lianja, Lianja Server