@TIMEPLUS
— adds an offset
to a time.
Syntax:
%@TIMEPLUS[
time,
offset,
fmt,
tfmt]
%@TIMEPLUS[
date@
time,
offset,
fmt,
tfmt]
time | the starting time; defaults to the current time |
date@ time | you can also give a time on a specific date |
offset | the amount of time to add; defaults to zero |
fmt | the date format used to return the resulting date, and also to interpret ambiguous input dates; defaults to 256 |
tfmt | the format in which to return the resulting time; defaults to 128 (24-hour with seconds) |
Specify the offset in hours, or as HH:MM or HH:MM:SS. If the offset begins with minus sign, it will be subtracted from the starting time.
You can specify a date-time pair for the starting time. The date may be in
any format supported by this plugin. Separate the date
from the time with an @
sign or the letter T
.
• Note: This function does not consider possible changes to or from Daylight Saving Time.
• New: This function does not exist in Take Command.