cancel
Showing results for 
Search instead for 
Did you mean: 

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

imrane1999
Champ in-the-making
Champ in-the-making

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 2

spydisetti
Champ in-the-making
Champ in-the-making

Hello Imrane1999, 

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

Is it in model?

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:

<html>
<head>

</head>
<body>
<h1>
click into the 'Add to Cal' to add the date to your callendar:
<a href="http://www.google.com/calendar/event?action=TEMPLATE&text=Example%20Event&dates=${dateheurededbut}/$...">Add to Cal</a>

</h1>
</body>
</html>

and here is the process model :

image

here is the formular :image