datetime_to_indices: Convert a datetime range to the indices range in the WIND...

Description Usage Arguments Value

Description

Given two datetime (from and to), compute the corresponding indices range on the WIND Toolkit dataset.

Usage

1
datetime_to_indices(datetime_from, datetime_to)

Arguments

datetime_from

The initial datetime point of the range as POSIX or string, in format YYYY-MM-DD HH:MM:SS.

datetime_to

The final datetime point of the range as POSIX or string, in format YYYY-MM-DD HH:MM:SS.

Value

A named list with elements t_from and t_to for the corresponding indices range on the WIND Toolkit dataset.


floresfdev/wtkapi documentation built on May 24, 2019, 7:14 a.m.