Datos funkcijos

Datos funkcija Aprašymas
checkdate()Patikrinama data pagal Grigorijaus kalendorių
date_createReturns new DateTime object
date_date_setSets the date
date_default_timezone_getGets the default timezone used by all date/time functions in a script
date_default_timezone_setSets the default timezone used by all date/time functions in a script
date_formatReturns date formatted according to given format
date_isodate_setSets the ISO date
date_modifyAlters the timestamp
date_offset_getReturns the daylight saving time offset
date_parseReturns associative array with detailed info about given date
date_sun_infoReturns an array with information about sunset/sunrise and twilight begin/end
date_sunriseReturns time of sunrise for a given day and location
date_sunsetReturns time of sunset for a given day and location
date_time_setSets the time
date_timezone_getReturn time zone relative to given DateTime
date_timezone_setSets the time zone for the DateTime object
date()Format a local time/date
getdateGet date/time information
gettimeofdayGet current time
gmdateFormat a GMT/UTC date/time
gmmktimeGet Unix timestamp for a GMT date
gmstrftimeFormat a GMT/UTC time/date according to locale settings
idateFormat a local time/date as integer
localtimeGet the local time
microtimeReturn current Unix timestamp with microseconds
mktimeGet Unix timestamp for a date
strftimeFormat a local time/date according to locale settings
strptimeParse a time/date generated with strftime()
strtotimeParse about any English textual datetime description into a Unix timestamp
timeReturn current Unix timestamp
timezone_abbreviations_listReturns associative array containing dst, offset and the timezone name
timezone_identifiers_listReturns numerically index array with all timezone identifiers
timezone_name_from_abbrReturns the timezone name from abbrevation
timezone_name_getReturns the name of the timezone
timezone_offset_getReturns the timezone offset from GMT
timezone_openReturns new DateTimeZone object
timezone_transitions_getReturns all transitions for the timezone

Discussion

Enter your comment (wiki syntax is allowed):

Asmeniniai įrankiai