HomeForum
Welcome, Guest

Date format problem while loading data from Excel
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Date format problem while loading data from Excel

Date format problem while loading data from Excel 11 months, 2 weeks ago #2882

  • Mike
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
I set up validation editor to check to make sure the field FY Date only contained date information:

For values 11/1/2007; 10/1/2008; 11/1/2008 & 12/1/2008, the validation editor validated the data But for the entries were the month is less than 10, it gave warning messages..

I can not figure out why if the date format is set to MM/DD/YYYY it fails for 2/1/2007 but will pass for 11/1/2007.

I even tried going into excel and resetting the format for field "FY Date" to mm/dd/yyyy

Mike

Re: Date format problem while loading data from Excel 11 months, 2 weeks ago #2883

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Michael

>>> I can not figure out why if the date format is set to MM/DD/YYYY it fails for 2/1/2007 but will pass for 11/1/2007.

MM/DD/YYYY

MM format requires 2 digits for month EG it should be always 01..12
same for DD

I suggest to try changing format from MM/DD/YYYY to M/D/YYYY

Hope that helps,
Peter

Re: Date format problem while loading data from Excel 11 months, 2 weeks ago #2884

  • Mike
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
The drop down list does not offer the option to select M/D/YYYY so I just went ahead and typed in M/D/YYYY on the Data Format line and then ran the data through the validation editor and it worked fine.

But MM/DD/YYYY should have work on a date like 1/1/2007.

Anyway, thanks for the tip, I'll keep trying to see if i can get ETL to ETL my data set into the proper, final structure.

Michael
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

"Pricing is an important aspect of our software investment program and DBSL exceeded our expectations in both performance and value for money."

Dana Sander,
ICT Manager

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top