From cf2b0c139b4ca884b5ce335ce893f2211b8e95bb Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 30 Jan 2004 22:49:01 +0000 Subject: Mid-day sanity checkin. --- functions/date_functions.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'functions/date_functions.php') diff --git a/functions/date_functions.php b/functions/date_functions.php index 46cbb8a..72b9a9c 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -14,6 +14,11 @@ if (phpversion() < '4.1') { } } +function getmicrotime() { + list($usec, $sec) = explode(' ',microtime()); + return ((float)$usec + (float)$sec); +} + // takes iCalendar 2 day format and makes it into 3 characters // if $txt is true, it returns the 3 letters, otherwise it returns the // integer of that day; 0=Sun, 1=Mon, etc. -- cgit v1.2.3