How to get current system date in mm/dd/yyyy format?



Hi Guys,

How to get current system date in mm/dd/yyyy format ?

Vishal Kumar


Hi @vishal.kumar

Approaches can be many, here is the simplest one.

Dateinformatsample.xaml (6.3 KB)


Hi Viswanath,

This approach sounds good. How can i add 30 days to the system date obtained?

eg: system date: 11/21/2017 and I want the date to be set as 30 days from today i.e 12/21/2017

Vishal kumar


Hai @vishal.kumar

Please find the updated .xaml file.

Let me know if u have any queries on the same.

Dateinformatsample.xaml (6.3 KB)


@vishal.kumar try this Convert.toDateTime(now.tostring(“MM/dd/yyyy”)).AddDays(30).ToString

Update: use this now.AddDays(30).tostring(“MM/dd/yyyy”) it will give you desired result “12/21/2017” instead of “12/21/2017 00:00:00”


Hi @vishal.kumar ,

Lets try this as mentioned @AkshaySandhu .


Try this: