-
Notifications
You must be signed in to change notification settings - Fork 0
Nimdate
Gentilhomme edited this page Dec 16, 2016
·
3 revisions
Use the diff
variable to get the difference time in second.
my $nimDate = new perluim::nimdate($_->{timeLast});
$Console->print("Difference from now => ".abs($nimDate->{diff})." seconds");
Name | Type |
---|---|
originalString | string |
year | string |
month | string |
day | string |
hour | string |
min | string |
sec | string |
diff | number |
finalFormat | string |
$Console->print($nimDate->{variableName});
Return nothing
This method is called into the constructor.