date_to_mongo: translate a date into mongo numberLong query

View source: R/credentials.R

date_to_mongoR Documentation

translate a date into mongo numberLong query

Description

translate a date into mongo numberLong query

Usage

date_to_mongo(datestring, format = "%Y-%m-%d")

Examples

date_to_mongo('2020-03-18')
# { "$date" : { "$numberLong" : "1584514800000" } }

BCHSI/credbl documentation built on April 16, 2023, 4:17 a.m.