Package DE_EPAGES::TLE::API::DateTimeFormatter
TLE format handler date and time issues. The TLE-Variable #INPUT.Locale must exist. This handler supports the following formats:
- [date] - display only the date part
- [time] - display only the time part
- [datetime] - display date and time
- #Now - DateTime object of current date
- YEAR - extract the year (e.g. 2004) of a DateTime object
- MONTH - extract the month (1..12) of a DateTime object
- DAY - extract the day (1..31) of a DateTime object
Example |
#CreationDate[date] => 25/05/2010 #Now[datetime:long] => Tuesday, 25 May 2010 #FUNCTION("DAY", #Now).#FUNCTION("MONTH", #Now).#FUNCTION("YEAR", #Now) => 1.12.2005 #LOCAL("DateTimeLocaleID", "en_US")#Now[datetime:long]#ENDLOCAL => 01.12.2005 11:31:01 |