Sidef::Time::Time
This modules creates a new Time object.
var time = (Time.new(sec)); var lday = (time.local.day);
Time.dump() -> Obj
Return the
Time.new.gmTime() -> Sidef::Time::Gmtime
Sidef::Time::Gmtime
Return a gmtime object.
Alias for local().
local()
Time.micro() -> Obj
Aliases: micro_sec, microSec, microTime, micro_seconds, microSeconds
Time.new(number) -> Time
Create a new Time object. The argument is the number of seconds elapsed since the beginning of the current epoch (1900). When no argument is specified, the current time is used.
Alias for timeNow().
timeNow()
Time.time() -> Number
Return the time value stored inside the Time object.
To install Sidef, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sidef
CPAN shell
perl -MCPAN -e shell install Sidef
For more information on module installation, please visit the detailed CPAN module installation guide.