RedAlert v0.2.0 RedAlert.TimeHelper

Summary

Functions

Get the current time

Check if the time with seconds later is in the past

Move forward the time with seconds

Functions

now()

Get the current time

past?(time, seconds \\ 0)

Check if the time with seconds later is in the past.

shift(time, seconds)

Move forward the time with seconds.