Date selection without 0

Will datetime.now(“d/M/yy”) work for the dates 07/09/2020 and 12/11/2020
Will this give the output for both currectly

Use this:

now.ToString(“d/M/yy”)

Actually i need to use now.AddDays(-1).toSteing(“d/M/yy”)
But i am not sure if this work for 2 digit date.


It should. I just run this log message to check and you can see it outputs correctly.

Ya the same i am getting just wanted to be confirmed.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.