Visokio website     Downloads     Video tutorials     KnowledgeBase  
01-2011 is not recognised as week? - Visokio Forums
01-2011 is not recognised as week?
  • Miklos April 18, 2011 9:53AM
    I have a csv file where one of the columns has dates in weekly format (45-2010, 03-2011, 29-2008, etc). After setting this column as date in Field organiser, everything is recognised but 01-2011.

    Can you guys please give me a solution for this problem? Why does my Omniscope think that there is no first week in 2011? :) Thanks, Miklos
  • 4 Comments
  •     chris April 18, 2011 10:33AM
    Hi,

    I'm unable to reproduce this.

    I created a text file with the following values:

    45-2010
    03-2011
    29-2008
    01-2011

    I then imported this into DataManager. DataManager read the data as TEXT. I then used a field organiser to convert the data to Date/Time, using ww-yyyy as the input Date format and dd-MMM-yyyy as the output date format. Omniscope correctly provided the following data:

    08-Nov-2010
    17-Jan-2011
    14-Jul-2008
    03-Jan-2011

    So it did recognise the first week in 2011. Would it be possible to attach an example IOK/CSV file so we can investigate this further?

    Thanks

    Chris
  • Miklos April 18, 2011 11:04AM
    Here you go. Cell content is not recognised for example in row #1978 or in #1984.
    Attachments
    sample.xls 439K
    New file.iok 13K
  •     chris April 19, 2011 6:50AM
    Hi,

    For some reason the Hungarian locale and the time-zone are affecting this. Try changing the locale to 'English' or 'French' and the time-zone to GMT+0.00. This allowed me to parse the data correctly.
  • Miklos May 10, 2011 8:43AM
    Hi Chris,

    Thanks for your answer but I still have some problem with date formatting when I want to convert days into weeks.

    After setting the proper date formatting in Omniscope, all the days from 20 Dec 2010 to 26 Dec 2010 will be 52th week in 2010 while it should be 51th, according to my calendar and other calendars what I found over the Internet.

    My another problem is that Omniscope convert the days from 27 Dec 2010 to 31 Dec 2010 to the 1st week of 2010 which is obviously nonsense.

    I've tried to change local settings to UK English and French but still got the same problem.

    Thanks,
    Miklos

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership