I want to enter one field in to website for that I want to convert Now

For Example

Now Function should converted into Mar 14, 2024

Input : Now
Output Format : Mar 15, 2024

Month should be Mar,Feb,Jan like that only
High Priority Task

1 Like

now.tostring(“MMM dd,yyyy”)

2 Likes

Hi @venkatsai_bonam

Assign -> Input = Now

Assign -> Output = Input.ToString("MMM dd, yyyy")

Input is of DataType System.DateTime. Output is of DataType System.String.

Let me know if you have any queries, I’m happy to help.

Regards

1 Like

Hi @venkatsai_bonam

Try the below expression,

- Assign -> Output = DateTime.Now.toString("MMM dd, yyyy)

No need to use input variable directly you can give Date time.Now in output expression to get the today’s date.

Hope it helps!!

1 Like

Hi

Try as below:-

Assign
Output = System.DateTime.Now.toString("MMM dd, yyyy)

Thanks

1 Like

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