Date increment

how to increment date to one day if the date falls end of the month?
Parents
  • Hi Raj,
    I tried as per suggessions, substituted 'CheckInDate' paramter in the place "DATE_NOW" but VuGen throwing error as
    type error in argument 2 to `lr_save_datetime'; found `pointer to char' expected `int'

    lr_save_string("11/30/2010","CheckInDate");

    lr_save_datetime("%m/%d/%Y", lr_eval_string ("{CheckInDate}") (1*ONE_DAY), "TOMORROW");

    lr_output_message(lr_eval_string("{TOMORROW}"));
Reply
  • Hi Raj,
    I tried as per suggessions, substituted 'CheckInDate' paramter in the place "DATE_NOW" but VuGen throwing error as
    type error in argument 2 to `lr_save_datetime'; found `pointer to char' expected `int'

    lr_save_string("11/30/2010","CheckInDate");

    lr_save_datetime("%m/%d/%Y", lr_eval_string ("{CheckInDate}") (1*ONE_DAY), "TOMORROW");

    lr_output_message(lr_eval_string("{TOMORROW}"));
Children
No Data