Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistanceBetweenTimestampSecond ¶
DistanceBetweenTimestampSecond
from and to must be unix timestamp must be from < to return days, hours, minutes, seconds
func DistanceBetweenTimestampSecondHuman ¶
DistanceBetweenTimestampSecondHuman convert DistanceBetweenTimestampSecond to human-readable
if from > to, return "N/A" if from == to, return "0s" if from < to, return "daysd hoursh minutesm secondss"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.