setdateyearmonth - script and chart function

This function takes as input a timestamp, a month and a year and updates the timestamp with the year and the month specified in input..

Syntax:  

SetDateYearMonth (timestamp, year, month)

Return data type: dual

Arguments:  

Argument Description
timestamp The date to evaluate as a timestamp or expression resolving to a timestamp, to convert, for example '2012-10-12'.
year A four-digit year.
month A one or two-digit month.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?