MT5.ServerTime: MT5 server time

Description Usage Value Author(s) Examples

View source: R/Source_MT5.R

Description

Obtain MT5 server time.

Usage

1

Value

Returns POSIXct date-time of MT5 server time. It may not be local machine time.

Author(s)

Guilherme Kinzel, guikinzel@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 

dtServerTime <- MT5.ServerTime()

## Extract hour
strftime(dtServerTime,format="%H")

## Extract day
strftime(dtServerTime,format="%d")


## End(Not run)

Kinzel/mt5r documentation built on March 25, 2021, 9:57 p.m.