mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Minor fixes PluginTools
This commit is contained in:
parent
8473b589ec
commit
658f870265
@ -52,6 +52,7 @@ our @EXPORT = qw(
|
||||
get_unit
|
||||
get_unix_time
|
||||
get_sys_environment
|
||||
get_current_utime_milis
|
||||
getCurrentUTimeMilis
|
||||
head
|
||||
in_array
|
||||
@ -94,6 +95,7 @@ sub get_lib_version {
|
||||
################################################################################
|
||||
# Get current time (milis)
|
||||
################################################################################
|
||||
sub get_current_utime_milis { return getCurrentUTimeMilis(); }
|
||||
sub getCurrentUTimeMilis {
|
||||
#return trim (`date +"%s%3N"`); # returns 1449681679712
|
||||
return floor(time*1000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user