Hi All , i would like to get the current day i am using this (now.day) but i am getting only 7 but i would like to get 07 . how i can
Hi,
Can you try the following?
now.ToString("dd")
Regards,
thanks for your answer its working . but if i declare as integer its showing 7 in this case if i would like to add 0 in first position how i can do that
Hi,
Hope the following helps you.
intDay = Now.Day
intDay.toString("00")
Regards,
2 Likes
Below is the solution for your query
Mark as solution and like it
Happy Automation
Best Regards
Er Pratik Wavhal
2 Likes
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.