I want to print the date time in LoadRunner using C language. Currently this is what I have.
Action()
{
lr_save_datetime("%Y-%m-%dT%H:%M:%S%z", DATE_NOW, "curr_dtm");
// this is -> 2022-03-08T10:25:09+0800
lr_output_message(lr_eval_string("{curr_dtm}"));
return 0;
}
I want it to be like 2022-03-08T10:06:47+08:00 where the timezone has colon.