You need to sign in to do that
Don't have an account?
beta3beta
Ajax Dates
Hi,
I'm trying to create a new object. Here's part of my code:
var dt = new DynaBean("Descripcion_Tecnica__c");
var currentTime = new Date();
dt.set("Fecha_Solicitud_Viabilidad__c",currentTime);
dt.set("Fecha_Solicitud_Viabilidad__c",currentTime);
However, sometimes the newly created object is set back one calendar day. For example, if i create the object today the field Fecha_Solicitud_Viabilidad__c will have the value 20/06/2006 4:02 PM instead of 21/06/2006 4:02 PM
can someone help me with this?
Hi, I forgot to mention that i'm using beta2 version
ie... alert(currentTime.getDate())
hi,
before they're submitted it returns the actual date. but after i have created the object, it returns one day behind the actual date. It happens sometimes, not every time.
Just thinking out loud... Steve.