asBFDateTime: Convert R date-time objects into XMLSchema types as required...

Description Usage Arguments Value Author(s) References

View source: R/funcs.R

Description

Convert R date/date-time objects into valid XMLSchema representation as required by betfair interface.

Usage

1
asBFDateTime(x, tz = "Z")

Arguments

x

Any R date/date-time object or character string which is recognized by as.POSIXlt.

tz

if supplied should be of the form (('+' | '-') hh ':' mm). For example +05:20 means 5 hours 20 minutes before the UTC. And +01:00 is equivalent to CEST.

Value

time string in appropriate format

Author(s)

Vitalie Spinu (spinuvit@gmail.com)

References

http://www.w3.org/TR/xmlschema-2/#dateTime


vspinu/betfairly documentation built on May 3, 2019, 7:08 p.m.