Getting Time Stamp in Date

Hi @marina.dutta ,

Could you let us know what is the End Output representation you require ? Are you getting different formats/not Expected in an Excel sheet when this value is written to it ?

DateTime is a Type and it doesn’t really have a format, but we could use .ToString() on it to represent the Dates in different formats but it will be converted as String types.

Let us know what is the end output you want to perform if the .ToString("MM/dd/yyyy") is not the Expected format.

Some tutorials on DateTime and its formatting :

1 Like