Learn R Programming

SASdates (version 0.1.0)

Convert the Dates to 'SAS' Formats

Description

Converts the dates to different 'SAS' date formats. In 'SAS' dates are a special case of numeric values. Each day is assigned a specific numeric value, starting from January 1, 1960. This date is assigned the date value 0, and the next date has a date value of 1 and so on. The previous days to this date are represented by -1 , -2 and so on. With this approach, 'SAS' can represent any date in the future or any date in the past. There are many date formats used in 'SAS' to represent date-time. Here, we try to develop functions which will convert the date to different 'SAS' date formats.

Copy Link

Version

Install

install.packages('SASdates')

Monthly Downloads

162

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Mahesh Divakaran

Last Published

November 9th, 2022

Functions in SASdates (0.1.0)

iso8601da

Convert date to ISO8601 format
iso8601dt

Convert date and time to ISO8601 format
num_date

Convert SAS Numeric date values to Date
ddmmyy10

Convert date to ddmmyy10. format
date9

Convert date to Date9. format
date11

Convert date to Date11. format
ddmmyy8

Convert date to ddmmyy10. format