Skip to content

databank.redate (+databank)

Redate all time series objects in a database

Syntax

d = databank.redate(d, oldDate, newDate)

Input arguments

d [ struct ]

Input database with time series objects.

oldDate [ DateWrapper ]

Base date that will be converted to a new date in all time series objects.

newDate [ DateWrapper ]

A new date to which the base date oldDate will be changed in all time series objects; newDate need not be the same frequency as oldDate.

Output arguments

d [ struct ]

Output database where all time series objects have identical data as in the input database, but with their time dimension changed.

Options

zzz=default [ zzz | ___ ]

Description

Description

Examples