Differences
This shows you the differences between two versions of the page.
time_module [2013/09/12 22:49] |
time_module [2020/09/12 01:30] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Description of Time module ====== | ||
+ | |||
+ | BeBot' | ||
+ | - Display current UTC/GMT/AO time on request. | ||
+ | - Provide a repository for useful time related functions for module developers. | ||
+ | |||
+ | |||
+ | ====== Functions Provided by Time module ====== | ||
+ | |||
+ | * ao_year() : returns the current year in AO's timeline. (Current year + 27474) | ||
+ | * get_DHMS($seconds) : Calculates the days, hours, minutes, and seconds from the provided seconds. Returns an associative array. | ||
+ | * format_seconds($totalsec) : Retruns H:M:S | ||
+ | | ||