RDV
This commit is contained in:
parent
a661bcc5e6
commit
6ae403817f
@ -5,6 +5,11 @@
|
||||
<#return ((rfxdatetime + offset)?datetime.iso?iso_utc)>
|
||||
</#function>
|
||||
|
||||
<#function RfxDateTimetoUTCWithTimezone rfxdatetime timezone>
|
||||
<#setting time_zone=timezone>
|
||||
<#return (rfxdatetime?datetime.iso?iso_utc)>
|
||||
</#function>
|
||||
|
||||
<#function DateTimeUTCtoRfxLocale dateutc locale >
|
||||
<#return dateutc?datetime.iso?iso_nz(locale)>
|
||||
</#function>
|
||||
@ -16,14 +21,14 @@
|
||||
<#assign timeInMilliseconds = (1000 * seconds) >
|
||||
<#assign aDate = date?long + timeInMilliseconds>
|
||||
<#return aDate?number_to_datetime>
|
||||
</#function>
|
||||
</#function>
|
||||
|
||||
<#-- -------------------------------------------------------------------------------------------- -->
|
||||
<#-- Duration between two datetimes in second -->
|
||||
<#-- -------------------------------------------------------------------------------------------- -->
|
||||
<#function DurationBetweenTwoDatetimeInSeconds startDate endDate>
|
||||
<#return (endDate?long - startDate?long) / 1000 >
|
||||
</#function>
|
||||
</#function>
|
||||
|
||||
<#-- --------------------------------------------------------------------------------------- -->
|
||||
<#-- Split email HARDIS WMS into json array string -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user