How can I pass the zoho.currenttime to a Zoho Creator Date Time field from Zoho CRM
Hello guys,
Maybe it is an easy question but whatever way I am trying to use I always get an "Please enter a valid date time format".
I would like to pass somehow the Current Date/time from a zoho crm function to a date/time field in creator like the below
GetDateTime = zoho.currenttime;
mpData.put("Work_End_Date_Time",GetDateTime );
response = zoho.creator.createRecord("gapp","telematix","Technical_Works_Form",mpData,"add_crm_record_to_creator");
But I always get error.
Same if I will try pattern like
- GetStartDateTime = GetDateTime.toTime("yyyy-MM-dd'T'HH:mm:ss").addMinutes(0).toString("dd-MM-yyyy HH:mm:ss");
Does anyone know how can i fix it?
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.