Forum und email

Dată/timp - funcţii

Cuprins

  • checkdate — Validează o dată/oră gregoriană
  • date_create — Returns new DateTime object
  • date_date_set — Sets the date
  • date_default_timezone_get — Gets the default timezone used by all date/time functions in a script
  • date_default_timezone_set — Sets the default timezone used by all date/time functions in a script
  • date_format — Returns date formatted according to given format
  • date_isodate_set — Sets the ISO date
  • date_modify — Alters the timestamp
  • date_offset_get — Returns the daylight saving time offset
  • date_parse — Returns associative array with detailed info about given date
  • date_sun_info — Returns an array with information about sunset/sunrise and twilight begin/end
  • date_sunrise — Returns time of sunrise for a given day and location
  • date_sunset — Returns time of sunset for a given day and location
  • date_time_set — Sets the time
  • date_timezone_get — Return time zone relative to given DateTime
  • date_timezone_set — Sets the time zone for the DateTime object
  • date — Formatează data/timpul local
  • getdate — CiteÅŸte informaÅ£ii despre dată/timp
  • gettimeofday — CiteÅŸte timpul curent
  • gmdate — Formatează data/timpul GMT/CUT
  • gmmktime — CiteÅŸte un timestamp UNIX pentru o dată GMT
  • gmstrftime — Formatează data/timpul GMT/CUT conform cu setările locale
  • idate — Format a local time/date as integer
  • localtime — CiteÅŸte timpul local
  • microtime — Returnează timestamp-ul curent UNIX cu microsecunde
  • mktime — CiteÅŸte valoarea UNIX timestamp pentru o dată
  • strftime — Formatează data/timpul local conform cu setările locale
  • strptime — Parse a time/date generated with strftime
  • strtotime — ConverteÅŸte aproape orice reprezentare textuală a datei/timpului în valoarea UNIX timestamp corespunzătoare
  • time — Returnează valoarea UNIX timestamp curentă
  • timezone_abbreviations_list — Returns associative array containing dst, offset and the timezone name
  • timezone_identifiers_list — Returns numerically index array with all timezone identifiers
  • timezone_name_from_abbr — Returns the timezone name from abbrevation
  • timezone_name_get — Returns the name of the timezone
  • timezone_offset_get — Returns the timezone offset from GMT
  • timezone_open — Returns new DateTimeZone object
  • timezone_transitions_get — Returns all transitions for the timezone