Description of Time module

BeBot's time module serves two functions:

  1. Display current UTC/GMT/AO time on request.
  2. 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
time_module.txt · Last modified: 2013/09/12 22:49 (external edit)
[unknown button type]
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki