gandi Posted May 4, 2020 Posted May 4, 2020 hello I have a puzzling problem that I can not get around. I am based in the UK. I have a API returning a date in the following format YYYY-MM-DD. when i set a date field with this it brings up a "?". this issue I think is that the feild is maybe no configured properly or a date sell will not accept that format. the for matt I want is DD/MM/YYYY. so I made a let function. the problem I am having is the MM is sometimes a single digit. I think I need sleep lol. any ideas. is there a simpler way of just formatting the field. hope this makes sense
comment Posted May 4, 2020 Posted May 4, 2020 If your file is using the d/m/y date format, then you must enter dates in this format too. To convert a date you receive as YYYY-MM-DD, you can use: Date ( Middle ( ReceivedDate ; 6 ; 2 ) ; Right ( ReceivedDate ; 2 ) ; Left ( ReceivedDate ; 4 ) ) Use this formula to set your date field. Note that you can format the field to display the date in any format you like.
Recommended Posts
This topic is 1915 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now