Hello Team,
Kindly advice on the VB or CSharp expression for finding the current date(dd/mm/yyyy).
Best Regards,
Kakooza Allan Klaus
Hello Team,
Kindly advice on the VB or CSharp expression for finding the current date(dd/mm/yyyy).
Best Regards,
Kakooza Allan Klaus
Here is regular expression to match date
^([0-2][0-9]|(3)[0-1])(/)(((0)[0-9])|((1)[0-2]))(/)\d{4}$
Hi @Kakooza-Allan-Klaus ,
To find current date use expression as DateTime.Now.ToString(“dd/MM/yyyy”)
For current year DateTime.Now.Year
is this you want ?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.