Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Product Discussion
- :
- Re: What is the proper format to enter a date in a...
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
What is the proper format to enter a date in a data loader query
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-18-2006 10:32 AM
I am trying to create a date query which references the Account record Created Date in the data loader but the system responds that I'm not using the proper format. How should I enter a date if I want to retrieve all account records with a created date after January 1, 2006?
Thanks
Rich Toronto
Solved! Go to Solution.
Re: What is the proper format to enter a date in a data loader query
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-18-2006 11:04 AM
The SOQL would look like this:
select id from account where createddate >= 2006-01-01
select id from account where createddate >= 2006-01-01
Re: What is the proper format to enter a date in a data loader query
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-18-2006 11:05 AM
Date - YYYY-MM-DD
Date/Time - YYYY-MM-DDThh:mm:ssZ
Date/Time - YYYY-MM-DDThh:mm:ssZ
Re: What is the proper format to enter a date in a data loader query
[ Edited ]Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-09-2008 01:50 PM - last edited on 07-09-2008 01:51 PM
FYI for anyone who comes across this thread, the query above is not valid. Since CreatedDate is a Date/Time field, the time must be included in the query.
Message Edited by tennvol88 on 07-09-2008 01:51 PM
Message Edited by tennvol88 on 07-09-2008 01:51 PM

