TimePlusSec

 

void TimePlusSec(int year, int mon, int day, int hour, int min, int sec);

 

Add 1 second from a given date variable and return it to each variable. It can also be treated as a month or as a leap month.

 

Parameters

year - year (Using Tags or Variables)

mon  - month (Using Tags or Variables)

day  - day of date (Using Tags or Variables)

hour - hour (Using Tags or Variables)

min  - minute (Using Tags or Variables)

sec - second (Using Tags or Variables)

 

Return Value

None.

 

Example 1.

year = 2000;

mon  = 1;

day = 14;

hour = 12;

min = 55;

sec = 10;

@TimePlusMin(year, mon, day, hour, min, sec);

Description : After the function is executed, it will be 12:55:11 on January 14, 2000.

                    year = 2000, mon  = 1, day = 14, hour = 12, min = 55, sec = 11.

 

Example 2.

$year = 2000;

$mon  = 1;

$day = 14;

$hour = 12;

$min = 55;

$sec = 59;

@TimePlusMin($year, $mon, $day, $hour, $min, $sec);

Description : You can use tags directly as arguments to functions.

                     $year = 2000, $mon  = 1, $day = 14, $hour = 12, $min = 56, $sec = 0.

 

Related Helps)

@TimeFromString()

@TimeGetWaiting()

@TimeMinusDay()

@TimeMinusHour()

@TimeMinusMin()

@TimeMinusMon()

@TimeMinusSec()

@TimePlusDay()

@TimePlusHour()

@TimePlusMin()

@TimePlusMon()

@TimePlusSec()

@TimeSetLocalTime()

@TimeSolarToLunar()