Contents
Index
Display Legacy Contents
Print
DateTimeAdd
This Function returns a
<string>
, which is the date time
resultant of the sum between the specified
Date Time
and
Value
.
Parameters
Date Time
<string>
Date Time to add the
Value
to.
This parameter must be
in format YYYYMMDDHHMISSCCC
.
Value Unit
<string>
Unit of
Value
to add to
Date Time
.
The Possible values for this parameter are:
"S"
–
Second.
"M"
–
Minute
.
"H"
–
Hour.
"D"
–
Day.
"HHMMSS"
–
Time.
"DDHHMMSS"
–
Date Time.
Value
<string>
Value to add to
Date Time
. The unit of this parameter depends on the
Value Unit
.
Example 1
Example 2
DateTimeAdd("20100301091530000", "D", "1")
Result
=
20100302091530000
DateTimeAdd("20100301091530000", "HHMMSS", "010000")
Result
= 20100301101530
See also
Add Days
Date Difference
DateTimeDiff
DateTimeSub
Day
Get System´s Date
Julian
Local To UTC Time
Month
Substract Days
UTC To Local Time
Week Day
Week Number
Year
Samples
Sample 1
Sample 2
Updated
: 3/21/2018 4:31 PM
Kalipso
Download
Support
Where To Buy
Suggestions
Contact Us
Sysdev website
Kalipso website