computeXdate_tday: Calculates the difference of days between the entered date...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

R Implementation of the SPSS XDATE.DAY Function. computeXdate_tday is a helper function for xpssCompute.

Usage

1

Arguments

x

atomic object of class character, POSIXlt or POSIXt holding date data.

Details

computeXdate_tday calculates the difference of days between October 14, 1582 and the entered date.

Value

Returns a character string with difference of days between the dates.

Author(s)

Bastian Wiessner

See Also

computeXdate_date computeDate_wkyr

Examples

1
2
xpssCompute(x="2015-02-15 20:11:20", fun="computeXdate_tday")
xpssCompute(x="2022-10-20 21:22:12", fun="computeXdate_tday")


Search within the translateSPSS2R package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.