sf_format_time: Format all Date and Datetime values in an object

View source: R/utils-datatypes.R

sf_format_timeR Documentation

Format all Date and Datetime values in an object

Description

Format all Date and Datetime values in an object

Usage

sf_format_time(x)

## S3 method for class 'list'
sf_format_time(x)

## S3 method for class 'data.frame'
sf_format_time(x)

## S3 method for class 'Date'
sf_format_time(x)

## S3 method for class 'POSIXct'
sf_format_time(x)

## S3 method for class 'POSIXlt'
sf_format_time(x)

## S3 method for class 'POSIXt'
sf_format_time(x)

## S3 method for class 'character'
sf_format_time(x)

## S3 method for class 'numeric'
sf_format_time(x)

## S3 method for class 'logical'
sf_format_time(x)

## S3 method for class ''NULL''
sf_format_time(x)

## S3 method for class 'AsIs'
sf_format_time(x)

Arguments

x

data which may or may not have values, elements, columns that represent a datetime. If so, each of those are cast to the ISO8601 standard per the requirements of Salesforce APIs.

Value

the same data object with datetime values formatted.

Note

This function is meant to be used internally. Only use when debugging.

See Also

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_date_format.htm


salesforcer documentation built on March 18, 2022, 6:26 p.m.