●
Use the calendar function 4-48
4.10.2 Print future date (offset)
(1) Offset function
●
Sets the date/time by adding the offset value and the date/time of the internal clock.
●
The offset values which can be set are shown in the table below.
Offset value setting range
Year
0 to 99
Month
0 to 99
Day
0 to 1999
Hour
-23 to 99
Minute
-59 to 99
<Example of offset in month units (2012 is a leap year)>
Calendar time
Offset from yesterday
From today
Offset value
Offset value
1 month
1 month + 1 day
1 month
1 month + 1 day
2015.01.28
2015.02.27
2015.02.28
2015.02.28
2015.03.01
2015.01.29
2015.02.28
2015.02.28
2015.02.28
2015.03.01
2015.01.30
2015.02.28
2015.02.28
2015.02.28
2015.03.01
2015.01.31
2015.02.28
2015.02.28
2015.02.28
2015.03.01
2015.02.01
2015.02.28
2015.03.01
2015.03.01
2015.03.02
2015.02.02
2015.03.01
2015.03.02
2015.03.02
2015.03.03
2015.02.27
2015.03.26
2015.03.27
2015.03.27
2015.03.28
2015.02.28
2015.03.27
2015.03.28
2015.03.28
2015.03.29
2015.03.01
2015.03.31
2015.04.01
2015.04.01
2015.04.02
2016.01.28
2016.02.27
2016.02.28
2016.02.28
2016.02.29
2016.01.29
2016.02.28
2016.02.29
2016.02.29
2016.03.01
2016.01.30
2016.02.29
2016.02.29
2016.02.29
2016.03.01
2016.01.31
2016.02.29
2016.02.29
2016.02.29
2016.03.01
2016.02.01
2016.02.29
2016.03.01
2016.03.01
2016.03.02
2016.02.02
2016.03.01
2016.03.02
2016.03.02
2016.03.03
2016.02.27
2016.03.26
2016.03.27
2016.03.27
2016.03.28
2016.02.28
2016.03.27
2016.03.28
2016.03.28
2016.03.29
2016.02.29
2016.03.28
2016.03.29
2016.03.29
2016.03.30
2016.03.01
2016.03.31
2016.04.01
2016.04.01
2016.04.02
<Example of year offset (2012 is a leap year)>
Calendar time
Offset from yesterday
From today
Offset value
Offset value
1 year
4 years
1 year
4 years
2016.02.29
2017.02.28
2020.02.28
2017.02.28
2020.02.29
●
There are two offset methods for future date calculations that use Month and/or Year variables, “Offset
from yesterday” and “From today”.
(
See “4.14.3 Set various printing” for “Offset from yesterday” and “From today” setting switching.
)