system.DateTime.Today.ToShortDateString
how do I get the above to format dd/mm/yyyy please
system.DateTime.Today.ToShortDateString
how do I get the above to format dd/mm/yyyy please
Try DateTime.Today.ToString(“dd/MM/yyyy”)
One more way is Now.ToString(“dd/mm/yyyy”)
Cool
how can I make it a date in 30 days time? from today I have tried now.ToString(“dd/mm/yyyy”) + 30
You can use add days
Now.AddDays(30). tostring (“dd/MM/yyyy”)
Or
Today.AddDays(30). tostring (“dd/MM/yyyy”)
Pls friends, how to use it in the user interface?
How command i use ?
store| DateTime.Today.ToString(“dd/MM/yyyy”) | mydate
executeScriptSandbox|return DateTime.Today.ToString(“dd/MM/yyyy”) | mydate