Return a human readable timestamp as a string: 'YYYYMMDD-HHMMSS'.

timestamp()

Value

A string corresponding to a human readable timestamp: 'YYYYMMDD-HHMMSS'.

Details

Convenience function to get a human readable timestamp string: 'YYYYMMDD-HHMMSS'. This is mostly useful for including in filenames.

Author

David Braze davebraze@gmail.com

Examples

timestamp()
#> [1] "20211025-180148"