Type Current date and time

Dear all, I want to write current date and time. Example : jan 08, 2023 04:23.

Anyone please kindly help.

Hey @Sabbir_Anwar ,

You can use the below syntax.
Now.ToString(“MMM dd, yyyy hh:mm”)

Thanks,
Sanjit

Thanks a lot. Could you please kindly say how can i type PM or Am.

use this expression.
input:- now.ToString(“MMM dd, yyyy hh:mm tt”)
output:- Jan 08, 2023 07:34 PM

Thanks a lot

1 Like

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