Write only date in a cell on excel

I need write only the date in a cell on excel, but the robot is writing the time together… How can I write only date ?

If MyDate is your datetime variable, write MyDate.ToString("yyyyMMdd") to only write the date. The format can be configured however you like.

1 Like

Can you send me a printscreen with one example ? Please