search for: posixtm

Displaying 1 result from an estimated 1 matches for "posixtm".

Did you mean: posixt
2000 Jul 20
4
RFC: System and time support functions in R
...not *quite* correct, as not all days are the same length due to the (rare) use of leap-seconds. And chron does not know about timezones. My suggestion here is to implement a time class called POSIXtime which is just POSIX's time_t. (Number of seconds since 1 Jan 1970.) And another time class POSIXtm which is an R list giving a struct tm (secs, mins, hours, day of month, month, year, day of week, day of year). (I think it also needs to record the timezone used.) Then we can have R functions as vectorized wrappers for the POSIX functions (not necesarily with these names) time (say Sys.date):...