how can i delete the millisecond from "2022-08-22T00:00:00.000Z" ?

Showing results for 
Search instead for 
Did you mean: 
Member II

how can i delete the millisecond from "2022-08-22T00:00:00.000Z" ?

hello ,

i want to delete the millisecond from "2022-08-19T00:00:00.000Z".iwant to use it like an input on google calendar and the Input needs to be in ISO format: YYYY-MM-DDThh:mm:ssZ.

please if someone can help me i will be proud .

2 Replies
Member II

Re: how can i delete the millisecond from "2022-08-22T00:00:00.000Z" ?

Hello Imrane1999, 

Can you please allobrate your question, where exactly you wanna chnage?

Is it in model?

Member II

Re: how can i delete the millisecond from "2022-08-22T00:00:00.000Z" ?

hello @spydisetti ,

first i want to thank you for your attention.

To make you in the context of my process, I have a room reservation process, the applicant puts his reservation request and the people designed by the approval put their decision. In case the reservation is validated from such to such dates the applicant receives a confirmation email from his request containing a button for additions to the calendar my problem is with the addition of the dates the dates where the requester enters and different from the one that Google calendar receives .

here is the HTML mail code which is executed when sending:


click into the 'Add to Cal' to add the date to your callendar:
<a href="${dateheurededbut}/$...">Add to Cal</a>


and here is the process model :

Capture d’écran 2022-08-25 161512.png



here is the formular :Capture d’écran 2022-08-25 161512.png