cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Problem with date

Hi,

i'm passing values from a google sheet to a sharepoint list. There is some formatting problem with dates but i cannot find a solution working for me.

images attached

thanks

Cattura.PNGCattura1.PNGCattura2.PNGCattura3.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Problem with date

Hi @diegomarino,

 

The Ora di base should be a valid timestamp, for example: "2020-01-01T14:00:00.000Z".

And it seems like the original time zone is the same as the target time zone, please correct it.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Highlighted
Advocate I
Advocate I

Re: Problem with date

Rather than using the expression, I'd suggest converting the timezone using the available action named Convert Time Zone

Then, simply use the output in your 'Data' field.

image.png

Highlighted
Helper I
Helper I

Re: Problem with date

thanks very much.

which is the time zone of origin? 

Highlighted
Advocate I
Advocate I

Re: Problem with date

If you are adjusting the time to match your time zone, the time zone of origin will be the time zone that your original data is formed in.

Highlighted
Community Support
Community Support

Re: Problem with date

Hi @diegomarino,

 

And the Date column in the SharePoint only allowed input a valid date, so you should remove one of them:

Annotation 2020-04-02 114857.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Helper I
Helper I

Re: Problem with date

sorry to bother you again, but i'm really noob in this stuff

 

look at my screenshot if you like it, i have a new error (just not to be boring)

 

Cattura.PNGCattura1.PNGCattura2.PNGCattura3.PNG

Highlighted
Advocate I
Advocate I

Re: Problem with date

Try this formula in the Base Time field.

 

formatDateTime(***Your Date field from the spreadsheet***,'dd-MM-yyyy')

 If that doesn't do it, check if the date in the spreadsheet is formatted as a date and not text (string). Then try again.

 

Good luck!

Highlighted
Community Support
Community Support

Re: Problem with date

Hi @diegomarino,

 

The Ora di base should be a valid timestamp, for example: "2020-01-01T14:00:00.000Z".

And it seems like the original time zone is the same as the target time zone, please correct it.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,440)