pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:5675:    *! Day of the month.    *! @member int(0..11) "mon"    *! Month of the year.    *! @member int(0..) "year"    *! Year since 1900.    *! @member int(0..6) "wday"    *! Day of week (0 = Sunday).    *! @member int(0..365) "yday"    *! Day of the year.    *! @member int(0..1) "isdst" -  *! Is daylight savings time. +  *! Is daylight-saving time active.    *! @member int "timezone" -  *! Offset from UTC, including daylight savings time adjustment. +  *! Offset from UTC, including daylight-saving time adjustment.    *! @endmapping    *!    *! An error is thrown if the localtime(2) call failed on the system.    *! It's platform dependent what time ranges that function can handle,    *! e.g. Windows doesn't handle a negative @[timestamp].    *!    *! @note    *! Prior to Pike 7.5 the field @expr{"timezone"@} was sometimes not -  *! present, and was sometimes not adjusted for daylight savings time. +  *! present, and was sometimes not adjusted for daylight-saving time.    *!    *! @seealso    *! @[Calendar], @[gmtime()], @[time()], @[ctime()], @[mktime()]    */   PMOD_EXPORT void f_localtime(INT32 args)   {    struct tm *tm;    LONGEST tt;    time_t t;   
pike.git/src/builtin_functions.c:5969:    *! Minutes over the hour.    *! @member int(0..23) "hour"    *! Hour of the day.    *! @member int(1..31) "mday"    *! Day of the month.    *! @member int(0..11) "mon"    *! Month of the year.    *! @member int(0..) "year"    *! Year since 1900.    *! @member int(0..1) "isdst" -  *! Is daylight savings time. +  *! Is daylight-saving time active.    *! @member int "timezone"    *! The timezone offset from UTC in seconds. If left out, the time    *! will be calculated in the local timezone.    *! @endmapping    *!    *! Or you can just send them all on one line as the second syntax suggests.    *!    *! @note    *! On some operating systems (notably AIX and Win32), dates before    *! 00:00:00 UTC, Jan 1, 1970 are not supported.