Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3483-standardlibrary-expertclasses-expertbaseclasses-cexpertbase-cexpertbasetime.md
T
2026-06-23 21:47:51 +08:00

476 B

Time

Gets the element of the Time timeseries by index.

datetime  Time(
   int    ind         // index
   )

Parameters

ind

[in]  Element index.

Return Value

If successful, it returns the numerical value of the Time timeseries element with specified index, otherwise it returns EMPTY_VALUE.

Note

The EMPTY_VALUE is returned in two cases:

  1. Timeseries is not used (the corresponding bit is not set).
  2. Element index is out of range.