Assign a date value in dd/mm/yyyy but excel change to mm/dd/yyyy

Hi i have use a assign in
DateTime.Now.AddDays(-2).ToString(“dd/MM/yyyy”)

but when i write value to it
it become MM/dd/yyyy as a short day
how can i fix it

@CoolRobot,

You can change format in excel before you write it.

you can choose your location and date.

Cheers,
Pankaj

@CoolRobot

have a look on this activity:
grafik

1 Like