Date conversion to a specific format

How can I convert current date (Today) like the format “20210921”?

@mohebul
now.ToString("yyyyMMdd")

Thank you for the support.

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