- ANSI C
- PERL
- PHP
- » Variable handling
- » Miscellaneous
- » POSIX
- » Date/Time
- » Math
- » menu_code_phpcode_strings
- » PCRE
- » Arrays
- » Classes
- » Program execution
- » Directories
- » Filesystem
- » GD
- » Network
- » menu_code_phpcode_sockte
- » SVN
- » IMAP
- » LDAP
- » MySQL
- » MySQLi
- » PgSQL
- » SQLite
- » SQLite3
- » pdo
- » MsSQL
- » Oracle
- » Informix
- » DB2
- » Firebird
- » Frontbase
- JavaScript
CONTENT
- CHANGES
Szukaj
#top Date/Time¶
code / php / datetime
#top Predefined Constants¶
No predefined constants here.
#top Date/Time Functions¶
#top gettimeofday¶
gettimeofday()
- Get current timemixed gettimeofday ([ bool $return_float = false ] )
Examples:
Zawartość pliku gettimeofday.php:
SELECT ALL
<?php echo("print_r(gettimeofday()):\n"); print_r(gettimeofday()); echo("gettimeofday(true)=".gettimeofday(true)."\n"); ?>
Sposób wywołania:
php -f /home/local/code/phpcode/datetime/gettimeofday.php
Rezultat wywołania:
print_r(gettimeofday()): Array ( [sec] => 1379196856 [usec] => 504863 [minuteswest] => -120 [dsttime] => 1 ) gettimeofday(true)=1379196856.5188
Zmodyfikowany ostatnio: 2013/11/20 22:42:16 (11 lat temu),
textsize: 759 B,
htmlsize: 2,86 kB
Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników