R/api_calls_authentification.R
datetime.Rd
The datetime stamp format might be a bit difficult to use. This helper function allows you to supply the date and time and a datetime character string comes out.
datetime(date, time)
date | date in iso format (year-month-day): 2018-12-29 for example |
---|---|
time | time in standard format (HH:MM): 20:21 |
# NOT RUN { get_travel_advise( fromStation = "Amsterdam Centraal", toStation = "Utrecht Centraal", dateTime = datetime("2018-08-21","15:21"), departure = TRUE ) # }