RDV
This commit is contained in:
parent
9a252d63c7
commit
f7de24d247
@ -9,6 +9,23 @@
|
|||||||
<#return dateutc?datetime.iso?iso_nz(locale)>
|
<#return dateutc?datetime.iso?iso_nz(locale)>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#-- -------------------------------------------------------------------------------------------- -->
|
||||||
|
<#-- Add second to dateTime ex: AddSecondsToDatetime("2025-11-17T09:15:00Z"?datetime.iso, 61) -->
|
||||||
|
<#-- -------------------------------------------------------------------------------------------- -->
|
||||||
|
<#function AddSecondsToDatetime date seconds>
|
||||||
|
<#assign timeInMilliseconds = (1000 * seconds) >
|
||||||
|
<#assign aDate = date?long + timeInMilliseconds>
|
||||||
|
<#return aDate?number_to_datetime>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
<#-- -------------------------------------------------------------------------------------------- -->
|
||||||
|
<#-- Duration between two datetimes in second -->
|
||||||
|
<#-- -------------------------------------------------------------------------------------------- -->
|
||||||
|
<#function DurationBetweenTwoDatetimeInSeconds startDate endDate>
|
||||||
|
<#return (endDate?long - startDate?long) / 1000 >
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
|
||||||
<#-- --------------------------------------------------------------------------------------- -->
|
<#-- --------------------------------------------------------------------------------------- -->
|
||||||
<#-- Split email reflex into json array string -->
|
<#-- Split email reflex into json array string -->
|
||||||
<#-- Example : splitemail "john.doe@hardis-group.com,; name@hardis-group.com" -->
|
<#-- Example : splitemail "john.doe@hardis-group.com,; name@hardis-group.com" -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user