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?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.