Obtain MT5 server time.

MT5.ServerTime()

Value

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

Examples

if (FALSE) { dtServerTime <- MT5.ServerTime() ## Extract hour strftime(dtServerTime,format="%H") ## Extract day strftime(dtServerTime,format="%d") }