Functions by Category Functions by Alphabetical list
This function adds (or subtracts) days, hours, minutes and seconds to a datetime#Add one hour to the current bar's date time
my $datetime=AddDeltaDHMS(Now(DateTime),0,1,0,0);
#Add one day and six hours to the current bar's date time
my $datetime=AddDeltaDHMS(Now(DateTime),1,6,0,0);
#Subtract one hour to the current bar's date time
my $datetime=AddDeltaDHMS(Now(DateTime),0,-1,0,0);
#Subtract one day and six hours to the current bar's date time
my $datetime=AddDeltaDHMS(Now(DateTime),-1,-6,0,0);
Related functions: DateTime , Time , Second , Minute , Hour , Month , Year , DayOfWeek , DayOfMonth , DayOfYear , WeekOfYear , NewHour , NewDay , NewWeek , NewMonth , NewYear , Monday , Tuesday , Wednesday , Thursday , Friday , FormatDateTime , ValidateDateTime , AddDeltaYM , DeltaDateTime
|