European versus American Date Format - Why?

Hi.
I'm importing an Excel spreadsheet into Numbers '09 and for some reason all of the dates appear in the American format (MM/DD/YY) instead of the European format (DD/MM/YY).
OSX is set up in System Preferences to use the European format so why is Numbers '09 using the American format?

I assume that the imported cells aren't defined as dates but as strings.
In such case, as far as I know, it's the user's duty to treat these strings.
(1) insert an auxiliary column rebuilding a local date.
(2) use an AppleScript like this one which will do the trick without any auxiliary column.
on run
set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
repeat with c from colNum1 to colNum2
repeat with r from rowNum1 to rowNum2
set dl to my decoupe(value of cell r of column c as text, "/")
if (count of dl) is 3 then
set value of cell r of column c to my recolle({item 2 of dl, item 1 of dl, item 3 of dl}, "/")
set format of range (name of cell r of column c) to date and time
end if
end repeat -- with r
end repeat -- with c
end tell -- Numbers
end run
--=====
on getSelParams()
local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
if item 2 of two_Names = item 1 of two_Names then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
end if
return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
apply to named row or named column !
on decipher(n, d, s, t)
tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
end decipher
--=====
set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on recolle(l, d)
local t
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to ""
return t
end recolle
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
Yvan KOENIG (VALLAURIS, France) mardi 5 janvier 2010 14:55:31

Similar Messages

  • SAP Business Objects 4.1 - American Date Format Issue

    This issue is something that keeps arising, if your viewing a crystal report, or building a new Webi report in 4.1 and viewing it, the date format seems to come out as M/D/YYYY HH:MM:SS, this never happened in 4.0.
    I will give an example, today I updated a 4.0 to 4.1 using the update path in a development server, and updated to 4.1 SP03 which is the latest. When I decided to write a Web Intelligence Report or create a Crystal report and publish this, all the date formats came out in American date format, and not the standard English one DD/MM/YYYY HH:MM:SS anymore. However if I go to the Live server which I haven't yet updated and is still on 4.0 SP04 Patch 11 and perform exactly the same its in English format as it always was.
    Can someone please enlighten me to what has changed from 4.0 to 4.1 in terms of configuration regarding the date formats changing.
    My server regional settings are English, and using the default GMT date time, so is my machine. 4.0 works 4.1 doesn't work the same.
    I have tried changing the .prm files in the connectionserver\dataaccess folder as well, this doesn't seem to make a difference and also used LOV's in universe objects and when using these in prompts you get ameican format. I have also changed the preferences in the BI Launch Pad to view English locale and the GMT date time for Greenwich Mean Time. 
    Please can someone advise or suggest where I am going wrong here and how to solve this.
    Many Thanks

    Thanks for your quick response. I have done the check on the universe design tool. I have tried the options - Migration forced and set English (UK). I purged the LOVs and refreshed. No luck as yet. Checked the locale and seems to be fine. When i change the BI launchpad - Web Intelligence preferences to HTML, then the LOV displays correctly - dd/mm/yyyy. The behaviour only occurs when displaying LOV in Applet mode. Maybe will have to look at some Java settings. Thanks
    Added Update- I created a variable =GetPreferredViewingLocale() and tested in WEBI Report with a date object. When I use the BI launchpad Web intelligence Preference to HTML - it display EN_GB. When  I use the BI launchpad Web intelligence Preference to Applet - it display EN_US. It seems to be taking preferred viewing locale as US in applet mode is there a way to fix this please.
    Added Update - It was a bug on Infoview and has been resolved on SP4 . The ADAPT Ref is ADAPT01718291. Just finished testing on UAT, going Live next week with SP4. 

  • HT3345 Importing from xls problems with the date format (mixed european format)

    Hi.
    I made some spreadsheets with Neo Office and saved them in xls format. So I can import them in numbers, doing so in OpenOffice, LibreOffice or even the worst in Mircosoft Office on a PC works just fine. But importing them with Numbers 2.0.4 it just don't work.
    I have Mac OSX 10.5.8 and a PowerPC G4 1,67 GHz.
    The date format in all other programs is " 21.05.2011" and numbers creates "21/05/2011" out of it. Although my international setting is set to 23.05.2012. It defines the cells as my own format and takes than the totally wrong format.
    Does anyone know how to solve this problem, or how to change all the weird own formats in my international setting, which would be correct.
    Best regards.

    Hi Franklin,
    I used to have similar problem with date too. To make my forms and reports work for all date, I used to send the parameter from forms to the report in text format. In the report, I grab that parameter as "Text Format" (I mean the parameter created in Oracle Reports was really as Character in datatype property) then I manipulate them in my SQL to convert that "date" into real date using TO_DATE function. Usually I use DD-MM-YYYY as my date format.
    Hope this help.
    Regards,
    Franko Lioe
    Hello friends at www.oracle.com,
    when I sent some informations to Reports, one of these informations was a date field. Here, the format mask may vary from one computer to another - some computers here are using american date format; however, my computer was using brazilian date format.
    The fact is that I was sending date information to Reports using the mask dd/mm/yyyy, and Reports (in the computer that uses american date format) couldn't recognize it, stating that I was sending an invalid month. So I had to change my date information to dd-mon-yyyy and Reports could run in the other computer, but doesn't run here anymore - fact that obligated me to change my date format to american format.
    Is there any way for me to use a date format mask that's valid to all computers here? If other computers - with other format masks - meet the same problem, the use of this program may become something very complicated.
    Thanks for all answers,
    Franklin Gongalves Jr.
    [email protected]

  • Australian Date format not American

    when running reports errors can occur when date prompts are added to webi query filters because it using American date format instead of Australian. How to change this so that the date format is Australian?
    I have search the net and gone through below but still a problem:
    1.          
    D:\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\odbc\sqlsrv.prm
    Change
            <Parameter Name="USER_INPUT_DATE_FORMAT">'mm/dd/yyyy HH:m:s'</Parameter>
    to
            <Parameter Name="USER_INPUT_DATE_FORMAT">'dd/mm/yyyy HH:m:s'</Parameter>
    2.          Server control panel settings changed all to Australian
    3.          Deski > options > English (Australia)
    4.          infoView preferences:
    -     Product locale = user browser
    -     Current time zone = local to web server
    -     Preferred viewing = English (AUS)
    CMC preferences:
    -     Product locale = user browser
    -     time zone = Canberra, Sydney, Melbourne
    -     Preferred viewing = English (AUS)
    what else do change/check?

    What reports are these for? I.e Deski/ Webi/ Crystal. Also, what version of BOE XI 3.x are you using ? What SP/FP level are you on?
    I am able to change the change the date format to Australian by setting the Preferred Viewing Local to 'English (Australia)' . If you're in Australia, using the browser locale should work.
    Note: I tested with Webi reports.
    Best,
    Srinivas

  • SSIS XML task date format issue

    Hi, there;
    I created an SSIS package XML task to import customer XML data.     The LocaleID is set to "New Zealand"
            I have an xml file which has date fields as attribute (dd/MM/yyyy). I created this package and run it in an .NET console program.
        The interesting thing is that: when I run under my own windows account, I can import data into SQL properly (dd/MM/yyyy), but when I run it as scheduled task (under another special windows account) it gives America format (MM/dd/yyyy).
        What I found is that my personal account in AD is set to New Zealand, the special windows account given by the infrastructure engineer
    is set to "default"  which is American user.
        So, my question is that is there any way/something we can set in the package or
     XSD somewhere to tell SSIS what the source date format is rather then controlled by the "AD account"?. The reason is that imagine that
    if I have 2 XML files from different clients, one is New Zealand date format(dd/MM/yyyy), another one is American date format (MM/dd/yyyy), I want same package (NOT same XML task) to import 2 XML files with result in New Zealand format.
       Thank you in advance.
    Cheers
    Robert
    qiuwei

    Hi Robert,
    Based on your description, there are two scenarios:
    You want to format the XML file column date with dd/MM/yyyy or MM/dd/yyyy format to dd/MM/yyyy. In this scenario, we can use Derived Column Transformation to convert the MM/dd/yyyy format to dd/MM/yyyy format for the American XML task, then use the new
    column maps to the corresponding Destination column. The following expression is for your reference:
    LEFT(RIGHT(Column,7),2) + "/" + LEFT(Column,2)+"/"+ RIGHT(Column,4)
    The XML file data already import to SQL table, different country people view the data with different date format. Please note that a datetime column is stored as binary in database, the display format is related to the SSMS server. For more details, please
    see the following KB:
    INF: How to Set the Day/Month/Year Date Format in SQL Server
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Convert date format from 'dd/mon/yy' to 'mon/yy'

    I know there's probably a load of questions already on this but I can't locate a simple straightforward explanation with examples on how to change the date 'DD/MON/YY' format to a month/year format 'MON/YY'.
    Can anyone assist with a useful response, Thanks

    woof777 wrote:
    Thanks both of you for the prompt responses.
    I used the to_char(sysdate,'mmyy') from dual response, but also found the other useful.
    Just another quick question, this field was in date format, why did I need to change it to CHAR?DATE datatype have NO format & are stored as BINARY values.
    The only datatype that can be presented to screen, CRT, or data file are ASCII CHARACTERS!
    Your Mileage May Vary below
    19:28:46 SQL> select sysdate from dual;
    SYSDATE
    2012-08-19 19:28:53
    19:28:53 SQL>

  • XML FORMS - Date Format

    Hi,
    I have a problem that I am sure is just config, but when opening any xmlforms and displaying they only appear with american date format.
    Has anyone changed this format, from what appears the standard?
    Will award points for any help.
    Thanks
    Kai Chalker

    Hi Kai,
    You can create a custom property in KM and assign a different date format to it.
    Then if u use that in your XML Forms, probably u can get the new date format.
    In the Additional Metadata row of the KM Property u can enter
    customFormat=dd-MMM-yyyy
    Please follow this [Help|http://help.sap.com/saphelp_nw04/helpdata/en/42/e646150fbc3ee6e10000000a1553f7/frameset.htm] link to get more info on the formats
    Regards
    BP

  • How can I change the date format to International (Europe, Asia, etc)?

    I am currently in Japan and would like to change my iPod's date format to an International format instead of the default American format. I have tried changing my mac's regional setting to Japan, UK, France and my iPod still displays the American date format. The interesting thing is that my mac correctly displays the date format in day-month-year format.
    I would be most grateful for any suggestions offered as I would like to get my iPod to correctly display the date. I had to manually set the iPod to the 24 hour clock. I am reasonably comfortable using the command line in a terminal.
    Message was edited by: PugetSounder

    Hi,
    This question is marked as answered but nothing shows as to the solution. Is there an answer?

  • Date format in Image capture

    When I connect a camera, Image Capture opens and displays all the images in American date format.  Both my camera and my computer are set to Australian date format.
    What gives?

    OK, here is my new strategy:
    A new feature of Snow Leopard OSX 10.6 is that Image Capture (and iPhoto) will put a green check mark next to any photos already downloaded. Therefore, it makes it much much easier to figure out the new from the old.
    In addition to that, I went into my iPhone using PhoneView and reset the images back to IMG_00001. This required me to get rid of my thousands of photos on the iPhone, but oh well.
    So starting over seemed to be the best way to manage this mess.
    -out

  • No English language setting with European date formatting available

    The English language setting in my iPod bought in Finland forces date format to the American MM/DD/YYYY style. There is no English language setting that would result in the European DD.MM.YYYY or DD/MM/YYYY format.
    Either making date formatting separately configurable (as time formatting already is), or adding another English locale with European-style date formatting solves this problem.

    Yes I agree, date format should be language independant. This is very annoying!

  • Why does the Canadian regional date format default to the US date format?

    I've discovered that on the iPad, iPhone and MacBook that choosing the Canadian Regional format results in the US date format of mm/dd/yyyy rather than the Canadian format of dd/mm/yyyy. I can use a custom format on the MacBook (but why do I need to??) but can't see how to change under settings on my iPad and iPhone.
    -Bob.

    In iOS8 anyone can now select the "Canadian English" regional setting and you will get dates in correct ISO 8601 YYYY-MM-DD format.  To confirm this is what you should use, check your Ontario Drivers License, OHIP health card or the bottom date on any federal gc.ca  webpage.  Yosemite is also the same. Thanks Apple, for having listened to Canada!
    (You might want to change Siri back to the American female voice from the British-sounding male voice.)

  • Why are 2 different date formats being used in thunderbird?

    Hello
    in the attachment you will see that the listing of emails (on the left) is shown using UK date format DD/MM/YY (that's what I want), however, the message content panel shows the date in the US format MM/DD/YY (I definitely do not want this).
    Why are 2 different formats being applied in Thunderbird, and how can I get both to be UK DD/MM/YY please.
    Many thanks
    Lord Elpus

    I should have said :
    this is Thunderbird 31.6.0 on Ubuntu 14.04 LTS
    Image resent due to previous failure.

  • Why is the date format tied to regional settings

    i like my date/time format to be customized to my liking. for me, the only way i can do this is to set my region to be the uk, even though i live here in the us. i find this kind of annoying since this causes some weird things to happen in other apps as well. for example, visiting the apple link would take me to the uk site instead of the us site. i understand that this is because i chose the uk in the international settings. but it's the only way i can get the date format that's close to what i want. is there a reason why apple doesn't allow you to customize the time/date format separately from choosing what country you reside in?

    hue tang wrote:
    is there a reason why apple doesn't allow you to customize the time/date format separately from choosing what country you reside in?
    "We" are users like you, with no knowledge of why Apple does or does not include particular features. In this case, I'd guess for simplicity, but that's just a guess.
    You can submit feedback to Apple: http://www.apple.com/feedback/iphone.html.

  • Why cant I have the date format like this:  1/2/07, it converts to Jan 2

    Why cant I have the date format like this: 1/2/07, it converts to Jan 2, 2007
    I want to keep it like that because, I transported a huge spreadsheet from my PC, and it has like this: 1/1/07, and there is way to many, to go back and change. Please help. Thank you.

    Hello
    Welcome to the club.
    The response seems to be simple.
    Those who wrote the Help are not those who wrote the PDF User's Guide which are not those who coded the application.
    As on this forum you will met only users trying to help other users, no one would be able to tell you if what we got is a bug or a design flaw.
    Like many of us,
    *Go to "Provide Numbers Feedback" in the "Numbers" menu*, describe what you wish: a way to define the default format used as Automatic date/time.
    Then, cross your fingers, and wait for iWork'09
    Yvan KOENIG (from FRANCE mardi 15 janvier 2008 15:10:17)

  • European date format?

    Hi,
    I've been using the auto-formatting function for dates quite a lot, but I've noticed it only seems to do the US date format: month/day/year, as opposed to the European format: day/month/year, which is what I'm used to using.
    Is there a preference for this somewhere?
    I've set up my computer so that the system is in English, maybe that has something to do with it too.
    I'd like 12/5/2009 to mean May 12, 2009 for example, not December 5...
    Thanks for any tips!
    Alexandra

    Quit Numbers
    Open the "International" System preferences pane
    Select the "Format" tab
    Define the medium format this way:
    Close the pane
    Launch Numbers.
    Yvan KOENIG (from FRANCE dimanche 7 juin 2009 14:29:18)

Maybe you are looking for

  • Album artwork not showing on iPod touch 5th gen

    Hey guys, I really need help on this. The issue has been bugging me the last several weeks and it is driving me nuts. After I updated my iPod touch to 6.1.3 as well as itunes on my windows to ver.11.0.2.26 (or the one before), I could no longer add a

  • Exit for automatic creation of line items in VA01

    Hello All, I have a requirement wherein I need to create next blank new line item (with predefined line item no) upon creation of one line item. When user opens sales order creation screen there should be default line item (say line item no 10) creat

  • Fring Not Working after upgrade to Anna

    I recently upgraded from Symbian 3 to Anna on my Nokia N8. After upgrading, I downloaded and installed Fring and although its installed but its not logging in! Before upgrade, I had Fring on my N8 and it was working without any issues. Does anyone ha

  • Getting Selections from each Tab of a Script UI Tabbed Panel

    I am in the process of creating a script to import fields from any tab delimited file. Mainly for directories but at times we have other items. The number and names of fields are always changing so it has to be flexible. The user first selects the fi

  • Search-mailbox phrase

    Hello  I'm running Exchange 2013 sp1. I need to search for  emails that contain a specific phrase, delete the emails and log the results. I have come up with two different commands, but not sure which one is better to use. #1 Search-Mailbox  -SearchD