O'Reilly logo

Programming PHP, 3rd Edition by Peter MacIntyre, Kevin Tatroe, Rasmus Lerdorf

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

microtime

Synopsis

mixed microtime([ bool get_as_float])

Returns a string in the format microseconds seconds, where seconds is the number of seconds since the Unix epoch (January 1, 1970), and microseconds is the microseconds portion of the time since the Unix epoch. If get_as_float is true, a float will be returned instead of a string.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required