Search notes:

R function: ISOdate

ISOdate (as also ISOdatetime) is a wrapper for strptime.
The function returns a POSIXct object.
year   <- 1970
month  <-    8
day    <-   28
hour   <-   22
minute <-   23
second <-    0

bd <- ISOdate(year, month, day, hour, minute, second)
bd
# [1] "1970-08-28 22:23:00 GMT"

class(bd)
# [1] "POSIXct" "POSIXt"

ISOdate(2015, 1:12, 4)
#  [1] "2015-01-04 12:00:00 GMT" "2015-02-04 12:00:00 GMT"
#  [3] "2015-03-04 12:00:00 GMT" "2015-04-04 12:00:00 GMT"
#  [5] "2015-05-04 12:00:00 GMT" "2015-06-04 12:00:00 GMT"
#  [7] "2015-07-04 12:00:00 GMT" "2015-08-04 12:00:00 GMT"
#  [9] "2015-09-04 12:00:00 GMT" "2015-10-04 12:00:00 GMT"
# [11] "2015-11-04 12:00:00 GMT" "2015-12-04 12:00:00 GMT"
Github repository about-r, path: /functions/ISOdate.R

See also

as.POSIXct
Index to (some) R functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1745507172, '18.118.19.89', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/R/functions/ISOdate(67): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78