You need to sign in to do that
Don't have an account?
blackbird
Date saving problem
Hello everyone,
I am having a problem with the date format of salesforce. I have presently an s-control script(javascript) that get's a specific date in the following format (dd/MM/yyyy) and saves this ParsedDate date to the salesforce DB. What I have noticed is that in the DB the format ends up being (mm/dd/yyyy). My problem comes when I use a date in with the following numbers: 12/01/2007. Although the number 12 should be the day, for some reason it ends up being the month. This only happens on days that can also be months like 1-12 but not 13-31.
Either i need to format this before I parse, or there is some parameter that I need to send in the parser when saving.
Can anyone help me please with this problem wich I have been trying to figure for a while now.
Thanks in advance,
Alen
I am having a problem with the date format of salesforce. I have presently an s-control script(javascript) that get's a specific date in the following format (dd/MM/yyyy) and saves this ParsedDate date to the salesforce DB. What I have noticed is that in the DB the format ends up being (mm/dd/yyyy). My problem comes when I use a date in with the following numbers: 12/01/2007. Although the number 12 should be the day, for some reason it ends up being the month. This only happens on days that can also be months like 1-12 but not 13-31.
Either i need to format this before I parse, or there is some parameter that I need to send in the parser when saving.
Can anyone help me please with this problem wich I have been trying to figure for a while now.
Thanks in advance,
Alen