getid3_asf::FILETIMEtoUNIXtime() –
You appear to be a bot. Output may be restricted
Description
Usage
$float|int = getid3_asf::FILETIMEtoUNIXtime( $FILETIME, $round );
Parameters
- $FILETIME
- ( int ) required –
- $round
- ( bool ) optional default: 1 –
Returns
float|int
Source
File name: wordpress/wp-includes/ID3/module.audio-video.asf.php
Lines:
1 to 10 of 10
public static function FILETIMEtoUNIXtime($FILETIME, $round=true) { // FILETIME is a 64-bit unsigned integer representing // the number of 100-nanosecond intervals since January 1, 1601 // UNIX timestamp is number of seconds since January 1, 1970 // 116444736000000000 = 10000000 * 60 * 60 * 24 * 365 * 369 + 89 leap days if ($round) { return intval(round(($FILETIME - 116444736000000000) / 10000000)); } return ($FILETIME - 116444736000000000) / 10000000; }