Package DE_EPAGES::Object::API::TLE::SiteFormatter
Implements locale-dependent TLE formats that depend on the site of the current object and the selected locale.
Example |
#ListPrice[money] -> 72,95 #Price[money:USD] -> $72,95 #Position[integer] -> 1.020 #Weight[float] -> 12,5 #ExampleFloat -> 12345.6789 #ExampleFloat[float] -> 12.345,68 #SmallExampleFloat -> 12.34 #SmallExampleFloat[float] -> 12,34 #Now[date] -> 01.12.04 #Now[date_tz] -> 01.12.04 #Now[time] -> 11:31 #Now[time_tz] -> 11:31 #Now[datetime] -> 01.12.04 11:31 #Now[datetime:short] -> 01.12.04 11:31 #Now[datetime:medium] -> 01.12.2004 11:31:01 #Now[datetime:long] -> 01. Dezember 2004 11:31:01 +0100 |
Functions
ADD_DURATION
Adds a duration (in days) to a datetime object and returns the new one.
Syntax |
#ADD_DURATION(#DateTime, #Duration) |
Example |
#ADD_DURATION(#Now, 1) #ADD_DURATION(#Now, -1) |
Input |
|
SITELOCALE
Returns the site locale object, which includes sepators, daynames, ....
Syntax |
#SITELOCALE(#LocaleID) |
Example |
#SITELOCALE(#INPUT.Locale) |
Input |
|