gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I have an excel Power query where I added a field where I wanted todays date. It works and produces todays date (8/18/2021). But where I am using the data it needs to be in a format where the month and day are both two characters (08/18/2021).
I am using :
Custom column formula
=DateTime.LocalNow()
how do I change this so I get the needed format? I am OK even if I need to create a second new field that converts this if needed. I just cant figure out any way to do this. Any help is very much appreciated.
= Table.AddColumn(#"Added Custom Resource", "Created", each DateTime.LocalNow())
Thanks
I am using :
Custom column formula
=DateTime.LocalNow()
how do I change this so I get the needed format? I am OK even if I need to create a second new field that converts this if needed. I just cant figure out any way to do this. Any help is very much appreciated.
= Table.AddColumn(#"Added Custom Resource", "Created", each DateTime.LocalNow())
Thanks