Changeset 8802 for trunk/include/functions.inc.php
- Timestamp:
- Jan 20, 2011, 2:32:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r8728 r8802 33 33 34 34 //----------------------------------------------------------- generic functions 35 36 /** 37 * stupidly returns the current microsecond since Unix epoch 38 */ 39 function micro_seconds() 40 { 41 $t1 = explode(' ', microtime()); 42 $t2 = explode('.', $t1[0]); 43 $t2 = $t1[1].substr($t2[1], 0, 6); 44 return $t2; 45 } 35 46 36 47 // The function get_moment returns a float value coresponding to the number
Note: See TracChangeset
for help on using the changeset viewer.