How to edit time?

image
I am trying to increase 1 hour time from variable

what expression need to assign

image

@Deepak_Gautam - Please check this… Output is string variable in the 2nd Line of code…

image

Please keep this handy…

I am using VB

Above code is VB only…Link is shared is just for reference which can work both in VB and C#…

You could have tried first…before it works or not…

You can try this too
CDate(“10:36 PM”).AddHours(1).ToString(“hh:mm tt”)

Regards,
Nived N

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