Date Localisation

Hi all,
I would like some advice on how to change the default date display of mm/dd/yyyy to dd/mm/yyyy. Would appreciate any help on this.
Thanks.

nope, in your xpress code calling java for a simpleDateFormat to change the syntax....never done this myself but i'm pretty sure this should do the job...but not really sure if the datepicker (if you use this) is happy with your change....

Similar Messages

  • CS2 AS: Scripted "Import XML" is not working (like manual import does)

    I have problem where importing a XML (merge import + delete unmatched) by script simply doesnt work, where the manual import works 100% fine!!??
    (I'm exporting the XML, refill it with new text data (localisation process actually), and bring the xml back to commit the change in the Indesign document).
    With the script, the XML get imported as a child in the XML
    I have xml structure like:
    root
    node
    and get something like
    root
    node
    root
    node
    My code looks like this (sorry for the formatting):
    tell application "Adobe InDesign CS2"
    tell XML import preferences
    set create link to XML to false
    set ignore unmatched incoming to true
    set ignore whitespace to false
    set import style to merge import
    set import text into tables to false
    set import to selected to false
    set repeat text elements to false
    set remove unmatched existing to true
    end tell
    try
    import XML (document 1) from pFilePath
    on error pmsg
    display dialog pmsg
    end try
    end tell
    Is there something obvious that i'm misssing??
    ps: I have checked the XML structure correspondance already.. but i dont think that's the cause of problem as the manual import is working.
    Thanks for any help!
    Eric

    Hi Eric,
    If you can see the behavior in the user interface, you can see it in scripting. I think it makes perfect sense to have the XML import preferences set at the document level, because some documents need one set of preferences; other documents need another. I think (hope) that the user documentation covers the differences between application and document preferences (if not, I do, in my book).
    If you see a preferences object on both the application and the document, assume you want to use the document preferences. Unless you're trying to set preferences for new documents.
    Thanks,
    Ole

  • PowerBI regional/localisation settings (date time format/timezone) - PowerPivot dax NOW() returning UTC date

    Can the regional settings be changed for PowerBI or are we stuck with UTC? Tried googling but the only hits for 'regional powerbi' relate to the portal being available in that region, not any kind of localisation configuration
    I have a workbook that is set to auto refresh. I've added a 'last refreshed' label to the front page, but when refreshed on PowerBI it shows the time in UTC (10.5 hrs off from where I am).
    I'm not a sharepoint person so will need steps and diagrams if it's a sharepoint config setting :)
    Jakub @ Adelaide, Australia Blog

    Hi Ed,
    I have a date dimension and I add a computed column to it. It's called RefreshDate. The code for the computed column is =NOW()
    I then use this column to show to the user when the model was last refreshed.
    Hi Greg, not really interested in workarounds at this time (i have another thread going for that & my data source is web apis, not a relational db with datetime functions) -
    this is more of a question of "is it possible to choose which timezone is used by the powerbi vertipaq engine for scheduled refreshes? yes/no"
    We are working in a single time zone, but the PowerBI vertipaq engine looks like it's lives in london.
    It shows the correct current time on the local user's PC when I (or a user) refreshes this model locally. It shows the UTC date (my time zone - 10.5 hrs) when the report is refreshed by powerbi.
    I have a workaround going in my report currently using powerquery to get the utc date and manually add 10.5 hrs + add a label to my report that states this is a fixed 10.5hr. This is a hack because we're in a daylight savings zone, so in a few months
    the tz will revert to +9.5hrs and i'll need to manually fix this again unless i'm able to set powerbi to use my time zone.
    The sharepoint guys here have changed every setting they know about in sharepoint online/o365 in regards to time zones and localisation. The date format and dates shown are correct for the 'web pages' part of powerbi (the refresh history, the formatting
    of the dates on the powerview reports etc), but the time zone used when powerbi executes the NOW() dax command appears to be set to UTC.
    Thanks
    Jakub @ Adelaide, Australia Blog

  • Copy data between 2 localisations

    My client is using Sap business one 2007A. he has a database with localization "Spain". he created another database with UK localization. he needs to copy the accounting entries from the first to the other one. copy express doesnt allow to copy data between 2 localization (only settings). is there any way to copy data between 2 localizations

    You may export accounting entries from the first db and DTW to the second one.
    Thanks,
    Gordon

  • Problem in Displaying Data for Localised Reports

    Hi everyone..I am having a problem with crystal Reports. I need Malayalam unicode( INDIAN Language) to be displayed in the reports, this data will be binded from database.
    And the problem is : After applying this unicode font to the labels of my reports, some labels in the reports are going invisible.Also, previously  if I increase the font size beyond 22, I used to get "A Generic error occured in GDI+".  But after changing the textformat property of the field to "crRtfText" from "crstandardText" , I could resolve this Generic Error.
    And, I could also observe that the last char of the fields in the "details" section is repeating.
    This is the code I am using to apply local font to the labels.
    Private Sub assignfont()
    Dim Mfont As New Font("kartika", 20, FontStyle.Regular,GraphicsUnit.Pixel)
    CType(Report.Section8.ReportObjects("Field45"), CrystalDecisions.CrystalReports.Engine.FieldObject).ApplyFont(Mfont) 
    CType(Report.Section8.ReportObjects("Field48"), CrystalDecisions.CrystalReports.Engine.FieldObject).ApplyFont(Mfont)
    End Sub
    And I am calling this function in the form load event of that report.
    Any suggestion on this is greatly appreciated........Thanks in advance..

    Dear MJ,
    thanks for the reply and I am really sorry for my delay. Actually I got vexed waiting for any reply and stopped opening this forum.
    And coming to your suggestion,
    Ya, I tried assigning font at design time also, but nothing worked for me.
    Even a textbox control also cannot show few characters which are said to be complex in malayalam script.
    So, do u feel getting BOBJ support is the only way for this?
    Thanks once again for your interest.
    Regards,
    raj.

  • Localise date format

    Requirement : To format the date from source locale to destination locale
    For Example : I am trying to format the date from Locale.US to Locale.FRANCE
    with Input as : 32/01/04 which gives me the
    Output as : 01/08/06 which is not valid
    since there is only 12 months in a year. Unfortunaletly, Java API automatically modify the
    date, and no exception is raised.
    I am using the Java API to format. Is there a way where I can check
    the input date for Locale.US is valid before I convert it into Locale.FRANCE
    try{
    DateFormat srcDateFormat =
    DateFormat.getDateInstance(DateFormat.SHORT, srcLocale);
    java.util.Date utilDate = srcDateFormat.parse(toLocalise);
    DateFormat destDateFormat = DateFormat.getDateInstance(DateFormat.SHORT,destLocale);
    result = destDateFormat.format(utilDate);
    }catch(ParseException e){
    logger.error("Exception in " + e.getMessage());
    }catch(Exception e){
    logger.error("Exception in " + e.getMessage());
    Thanks in advance,
    Aruna.

    How I do the same for number formats
    For example
    If I enter 1.908 for Locale.FRANCE
    it should throw exception as dots are not allowed in numbers used in French locale
    Thanks in advance,
    Aruna.

  • Report locale, subtemplates and Data Model

    Hi,
    I have the following situation:
    We have 4 templates according to language, with french the default language:
    - FR: template.rtf
    - NL: template_nl.rtf
    - DE: template_de.rtf
    - EN: template_en.rtf
    The report locale is enough for BI Publisher to select the correct template, so that's OK.
    Some data from our database is also based on locale (eg street names and cities).
    Question 1: is it possible to use the current locale as parameter for the (sql) data model in some way (eg by using a specific parameter name)? For now we set the report locale to the correct language AND we send that same value through as a parameter. It would be cleaner to just set the report locale and be able to use that value in some way.
    Question 2: all of the above templates have a footer that's being reused, each also share the same data model, but the data is again based on the current locale.
    so: footer.rtf, footer_nl.rtf, footer_de.rtf and footer_en.rtf. Do I need to import all of these in their respective files or will localisation work (I doubt it)?
    Question 3: Is there a way to implicitly pass all parameters that were passed to the main template, also pass to the subtemplates? (eg LANG parameter is passed to template_nl.rtf, who can use it in his data model, is there a way to automatically make LANG available for footer_nl.rtf's data model or do I need to explicitly pass it as a parameter in the <?call-template: footer?>) - again if the report locale is available in some way to the data model, it would be easy.
    Thanks in advance

    Hello,
    Probably the easiest would be to use an OnDemand Process and some AJAX to pull your data into the extjs object.
    Here's an example of an OnDemand Process.
    http://apex.oracle.com/pls/otn/f?p=11933:11
    For data the easiest at the moment would be probably to use the Oracle XML functions to generate your data in XML and use that as your data feed.
    You might want to take a look the new Interactive Reports included in APEX 3.1, while extjs has alot of functions there is a bit of setup involved , while the Interactive Reports all you need is a SQL query http://www.oracle.com/technology/products/database/application_express/html/irrs.html
    You should search the forum for extjs as there has been quite a few successful integrations of APEX and extjs / YUI / jQuery etc.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • How can I  custom my date  in OBIEE.

    How can I custom my date in OBIEE.I want to see date in my user friendly format for Date Format MM/DD/YYYY to filter with
    leading zero(number) eg (01.21.2008) and not M/D/YYYY (1.21.2008) that i am seeing.I would appreciate it if you could give me a step by step process on how to do it in RPD.I know how to change the data format in my column propeties since i have more that 5000 columns that need changed.I am looking for a localised area
    that can take care of business.
    Thanks

    Edit the following parameters in OracleBI\web\config\localedefinitions.xml
    - Search for the locale that you want to customize by looking for the tag *<localeDefinition name="en">*
    - Customize the following tags as you require
    <property name="dateShortFormat">MM/DD/YYYY</property>
    <property name="dateLongFormat">dddd, MMMM dd, yyyy</property>
    - Restart the presentation server

  • A working YUI Calendar With Spry Data

    Hi,
    I've seen a number of posts about linking Spry data with the YUI calendar widget.
    Well I've done that here.  http://www.pwhitehurst.f2s.com/yui%20calendar.html. through a little perserverance and reading the Yahoo calendar API
    The calendar dates are highlighted based on the event dates in the SPRY data.  I haven't added any other functionality yet as  I'm just taking it one step at a time.  But this page should give others the base code for getting started.  The key is to declare a YAHOO namespace so you can reference the calendar in your spry region postload notifications or other spry functions etc.
    Any questions please reply and I'll see if I've worked it out.  I'm away over Easter but intend to add functionaility so that when you click a date on the calendar it filters the spry data via a non destructive filter etc. I also want the calendar to move to the right month as I click events.
    Cheers
    Phil

    Thanks,
    Unfortunatley my page hasn't gone live yet, so I can't show you what I mean, but I think I've found the problem.
    I've managed to config the YUI calendar to accept dates in DD/MM/YYYY format (using some of the localisation features described on the Yahoo developers pages: http://developer.yahoo.com/yui/examples/calendar/germany.html) so now my calendar will accept and properly shade any date passed to it in DD/MM/YYYY format (which is what my spry dataset is in) and it will also return any date selected from the calendar in DD/MM/YYYY format, as it should. So, all good on the calendar front...
    ...but spry is still operating in standard MM/DD/YYYY mode, so if I set my "start_date" and "end_date" columns as type = "date" (which I want to do for sorting purposes) it doesn't recognise any date after the 12th day of the month! (because it still thinks the DD segment is a MM segment and so has a maximum poss value of 12! doh!). So far I've got around this by defining both date columns as "strings", so the combining function you describe above (much appreciated btw :-)) passes the date string to the calendar exactly as entered, and because my calendar is set up to recognise this date string, theres no problem, and i can shade any date in the calendar (including the 13th to the 31st!)
    so the only problem i have now is being able to sort my dates. one solution seems to be to have 2 columns - one with the date in DD/MM/YYYY format which is used for display (as it is now) and another in american MM/DD/YYYY format which is used to sort, but this seems to me a bit of a waste of time, and theres always the possibility that one column will have an error in it, especially since I'm not used to working in the american format.
    sorry, a bit of a ramble there. I suppose my question is this: is there a simple step i'm missing where I can tell spry that my date columns are in a specific format? ie. dd/mm, not mm/dd?
    something like:
    var ds1 = new.Spry.Data.HTMLDataSet("myData.html", "table1", {sortOnLoad: "start_date", sortOrderOnLoad: "ascending"});
    ds1.setColumnType("start_date", "date", {format:dd/mm/yyyy});
    if not, there really should be!
    *any admins reading, mental note for the next release please...! :-)*
    I suppose i could give in and convert all my dates to the american system which would solve all the problems, but i never like being bullied by the Yanks!

  • Genre of imported songs not localised like iTunes songs

    The genres of songs that I purchase in iTunes are in Dutch, because I'm Dutch and therefore the language of my iTunes Store is also Dutch. If I import songs from a CD, however, the genres are in English. The result is that most of the genres are present twice, once in Dutch and once in English. I know how to change the genre of songs, but it's getting rather tedious to clean up my genres every time I import something.
    Is there a way to get the genres in Dutch when importing CD titles? Is this a CDDB issue, an iTunes issue or a OS X localisation issue?
    Regards,
    -Eric

    I ran into the same problem, I think that, If you tab on a song that is on your IPOD, and the song data is grayed-out, I think it means that the song is probably twice on your IPOD and that the iTunes directory can not edit THAT song data for two (or more) files @once. Check if this is the case, sinceI have the same problem,am looking for a way to have One and the same song in more playlists but only keep the song once on the IPOD.

  • The DATA BUG of OVI 3.03 on E72, disgusting!

    Nearly at the same time at the afternoon today - 25 Jan. Many of the users of E72 found their New OVI Maps occured a serious problem. When they open the icon "My place" in GPS, the program halt and no response at all. Many of them think maybe it just be a problem of their own E72 or due to some collisions of the software they installed and even formate the phone or reinstall the OVI maps many times. But as I confrim on some forums,I make sure that this is a BUG of the software.
    First of all, I should declare the OVI maps and software I installed on my E72 were all download form official website maps.nokia.com and with newest verison.
    The Symptom is:
    1. when you open OVI maps and click the "my place"  icon the program halt unless you shutdown the program in task manager or restart the phone.  But if you click the "search" first only once, then all the functions will be ok.
    2. If you change the date to 24 Jan or 26 Jan, every thing is OK. And if you change the date to 15, 25 of anyother months if only the date contain "5", the problem will happen again.
    From this symptom, I can sure it is a DATE BUG of new OVI maps. I just CAN NOT believe NOKIA could made this stupid mistake. I hope NOKIA could fix it or update the software ASAP.
    Message Edited by joeye on 25-Jan-2010 11:00 PM

    Hi,
    We think we know the cause of this issue to be the welcome note localised to Latvian.
    From what we can tell from your firmware version, you are running a latvian varient. We are aware (and have fixed for the next release) that the welcome note, translated to latvian, was causing the application to crash.
    To work around this until the release is made available, please do the following:
    Change the device language, for example to English, and restart the Maps application. Once the application is started, you should then be able to exit the application, revert the language back to Latvian, and restart the Maps application without it Crashing.
    Please let me know if this resolves your issue.
    KR
    Chris
    Although i work for Nokia, my opinions are my own!
    Got a Maps query? Check our Maps FAQ's

  • Probleme avec localiser mon mac "en ligne, aucune position disponible"

    Bonjour,
    J'ai un soucis lorsque je vais sur icloud.com, Mon mac ne se localise pas.
    Voici le message d'erreur "en ligne, aucune position disponible"
    J'ai formater le systeme une fois, sans faire de restauration (installation clean)
    Comment faire
    A noter que je ne peux pas non plus regler l'heure comme je veux :
    Dans "date et heure" je coche la case "regler le fuseau horaire automatiquement en fonction de mon lieu actuelle"
    Il me repond: impossible de determiner le lieu actuel pour l'instant.
    Merci !
    Bonne journée !

    Si vous la recommencez (la navigateur), qu'est-ce qu'il se passe? Ca me semble probleme avec Adobe Flash -- avez vous Flash advertisements ou programmes courant la?
    On peut trouver un "plug-in" pour Safari qu'arreter ces morceaux de Flash. On peut aussi aller a www.adobe.com et voir s'il y a un nouveau plug-in pour vous.
    (On doit pardonnez moi, le Francais n'est pas mon langue permier et il y avait beaucoup de temps depuis que j'avait la chance a la practiquer).

  • Problem About Date Format in Dashboard

    Hi All:
    I still have problem about date format in dashboard and dashboard prompt. When I use cast(dealdate as date) in dashboard prompt(coloumn formula of deal_date) and filter view(In edit view of filter coloumn formula) Then It converts the date format from mm/dd/yyyy to yyyy-mm-dd But I want format in dd-mm-yyyy.
    ANd also one problem more that is when I use cast function in filter coloumn formula then how I give alias to it. Because it shows same like that cast(deal_date as date) on dashboard filter view.
    Pluzz help me to solve this problem
    Haroon

    Changing the ini files should change the date format. Have you amended the correct instances of the date format? In dbFeatures there is one for every ODBC connection.
    For example in my DBFeatures.INI
    [ DATA_SOURCE_FEATURE = ODBC_300 ]
    DATE_FORMAT = 'dd-mm-yyyy' ;
         TIME_FORMAT = 'hh:mi:ss' ;
         DATE_TIME_FORMAT = 'dd-mm-yyyy hh:mi:ss' ;
         IDENTIFIER_QUOTE_CHAR = '"';Also a file on the presentation side in OracleBI \web\Config called localedefinitions.xml.
    Inside that there appears to be defaults for localisations - maybe it is possible to amend your locale in the Administration settings of the dashboard.
    However, I haven't tried this sorry.

  • How to know date format of client in webservices

    I have made a webservice which takes Date from the client. But these clients can have there own regional settings like DD/MM/YYYY or MM/DD/YYYY or YYYY/MM/DD.
    It would be helpful if someone can tell me how to know the date format of the client in server for a webservice
    regards,
    Saurabh

    If a service recieves messages with values that are typed in WSDL as wxs:dateTime or a restriction thereof, then the data is fixed in its format to ISO 8601, and has nothing to do with the localisation settings of the client machine.
    The question 'does typing a value as xsd:dateTime in WSDL fix the format' and the question 'how can a server know the regional settings of a client' are not the same question. AFAIK, the majority of public web services do not use WSDL nor WXS.
    Pete

  • How to know date format of client

    I have made a webservice which takes Date from the client. But these clients can have there own regional settings like DD/MM/YYYY or MM/DD/YYYY or YYYY/MM/DD.
    It would be helpful if someone can tell me how to know the date format of the client in server for a webservice
    regards,
    Saurabh

    If a service recieves messages with values that are typed in WSDL as wxs:dateTime or a restriction thereof, then the data is fixed in its format to ISO 8601, and has nothing to do with the localisation settings of the client machine.
    The question 'does typing a value as xsd:dateTime in WSDL fix the format' and the question 'how can a server know the regional settings of a client' are not the same question. AFAIK, the majority of public web services do not use WSDL nor WXS.
    Pete

Maybe you are looking for