How to change date to different timezone

Hi - I need to show a date consistantly as eastern standard
time, but my server is in the midwest.
Might there be an easier way than testing for 11 to 11:59 PM,
during which period a day would be added to the current date, or is
that about all that can be done?

> Might there be an easier way than testing for 11 to
11:59 PM, during which
> period a day would be added to the current date, or is
that about all that can
> be done?
if both tz track DST the same just add the time difference in
hours to all your
datetimes when you want to display them. otherwise have a
look at this
http://www.sustainablegis.com/projects/tz/testTZCFC.cfm
but it's probably overkill for your purposes.

Similar Messages

  • How to change data type of attribute in caf

    hi.
    this is my problem.
    i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
    when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
    because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
    is anyone had same problem like me?
    how to fixed it(if passable)?
    and, how to change data type?
    thanks.

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • How to change data source name and context root during deployment

    Hi,
    Env:
    WLS 10.1.3
    JDev 11.1.1.6
    Hudson
    I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
    Kuba

    I don't believe there is an inbuilt facility to do this.
    Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
    Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
    CM.

  • How to change data format from  MM/DD/YYYY to DD/MM/YYYY

    HI,
    How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
    Please help me ont this.
    Thanks

    Hi,
    In Prompt:
    Try using EVALUATE function.
    Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
    Report level:
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya

  • Performace tuning: how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Wei,
    Yes we can transfer the data by using
    SAP Memory OR ABAP Memory.
    Ex:  V_count TYPE i.
      V_count = 100.
    LOOP AT  itab.
    IF v_count EQ 25.
    Here For every batch job
      EXPORT data TO MEMORY ID 'ABC'
       Function module
        JOB_OPEN
       JOB_SUBMIT
       JOB_CLOSE.
      ENDIF.
    ENDLOOP .
    IN your 2nd program.
    INITIALIZATION.
    IMPORT data FROM MEMORY IF 'ABC'.
    FREE memory if .---When you free the memory you will get recent data.
    Don't forget to reward if useful.

  • SAP threading-how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Passing Data Between Programs
    [http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm]

  • How to change date format in OBIEE

    Hello
    I have a need to change the date column to a varchar column in OBIEE..
    The date column stores data in the format of 'YYYY/MM/DD', I need to change this to a varchar column with this format 'YYYYMM'..
    Since I am pointing directly at the transactional database, I can't make any changes at the database level, so I will have to do it in OBIEE layer, any ideas how it could be done?
    Many thanks in advance!

    hi user,
    Refer : http://varanasisaichand.blogspot.com/2010/01/how-to-change-data-format-to-our-custom.html
    http://varanasisaichand.blogspot.com/2010/05/evaluate-function.html
    Thanks,
    Saichand.v

  • How to change date format in select-option (mm.yyyy).

    Hi,
       Plz, How to change date format in select-option (mm.yyyy).
      in my selection screen date type selection-option is there ,when i am enter date   it's  taken  dd.mm.yyyy format,but i want mm.yyyy format.
    how to set that .
    Regards,
    Kk.

    sorry
    parameters : pmonyr type spmon or
    select-options : sspmon for PGPL-spmon .
    or what table ccontains spmon.
    regards
    shiba dutta

  • How to change Date format in Prompts.

    Hi,
    How to change Date format to DD/MM/YYYY in Dashboard Prompts.Kindly let me know.

    Hi,
    try to below ways
    1) By using cast fxn you can solve it.
    SELECT CAST("YOUR COLUMN" AS DATE) FROM "SUBJECT AREA NAME"
    2) This is a known bug get patch Bug 9280334: CALENDAR DD/MM/YYYY PROMPT IN DASHBOARD RETURNING FORMAT YYYY-MM-DD HH:MI:SS from support.oracle.com
    3) refer
    http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    Thanks
    Deva

  • How to change date format

    Can anyone help me with this, Please?
    I have a form with start date and end date and the date format I am getting is YYYY-MM-DD. But I would like to change it to MM-DD-YYYY format. How do I achieve this??
    When I went to JFPREAMBLE_1, i see it reads:
    ^define group:PO_DOC_COMM__SVC_STRT_DT!FldNotAvail  \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
    ^define group:PO_DOC_COMM__SVC_STRT_DT!FldUsed      \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
    ^define group:PO_DOC_COMM__SVC_END_DT!FldNotAvail  \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
    ^define group:PO_DOC_COMM__SVC_END_DT!FldUsed      \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
    Can I change anything here to change the format??? Or how do I change date format??
    I would really appreciate your help on this. Thanks in advance.

    Hi,
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya
    Edited by: Satya Ranki Reddy on Jul 2, 2012 3:57 PM
    Edited by: Satya Ranki Reddy on Jul 2, 2012 3:59 PM
    Edited by: Satya Ranki Reddy on Jul 2, 2012 4:13 PM

  • How to change date format in BR?

    Hi all!
    Does anybody know how to change date format in BR?
    I created global variable with type DateAsNumber and usage type run-time promt and used it in BR
    Then I launched a BR on the form and chose necessary date. Date stored in MM/DD/YYYY format, but I need DD/MM/YYYY.
    I tried to change format through Planning but then I recieved uncorect result(for instance, I selected 4(April)/14/2009 but it was stored as 4/02/2010)

    Hi,
    the date is always stored the same in Essbase. I think it's YYYYMMDD.
    You can change the format you enter the date in webforms and business rules by changing your planning application settings (Preferences->Display Options).
    Cheers.

  • HT1326 How to change to a different Game Center account

    How to Change to a different Game Center account

    It will only effect GameCenter. It will not effect other apps and things on the iPod.
    You can change the account you are signed into by:
    iOS: Tap Settings > Game Center.
    OS X: Click the Me tab in the Game Center app and click on your Account.
    Note: Please note each Apple ID has its own associated scores, achievements, and friends.
    http://support.apple.com/kb/HT4314

  • How to Change Date Format in Registry

    how to change date format in registry so when u qeury the date column, it display in our specific format like 20-05-2005 instead of 20-may-05. i dont want to use to_char in query
    thanks

    Under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME{X}
    NLS_DATE_FORMAT = 'dd-mm-yyyy'
    You could also change the database date format :
    SQL> alter system set NLS_DATE_FORMAT = 'dd-mm-yyyy' scope=spfile;
    and restart the DB.

  • How to convert date in one timezone to date in another timezone?

    Hi,
    I am building a web site which can be accessed by people across world in different timezones. I have a requirement to collect the data from the users in their respective timezones and convert it to the timezone in which the server is hosted before saving it. E.g. a user in "Kwajalein" timezone (GMT - 12) enters date as "10/23/2007 21:00", the time for the server which is hosted in indian timezone (GMT + 5.30) would be "10/24/2007 14:30". If I use the following program to convert the dates in these timezones it gives me wrong output.
    TimeZone tz = TimeZone.getTimeZone("Kwajalein");
    DateFormat df = new SimpleDateFormat("MM/dd/yyyy HH:mm");
    df.setTimeZone(tz);
    Date d = df.parse("10/23/2007 21:00");
    TimeZone tz1 = TimeZone.getTimeZone("Asia/Calcutta");
    df.setTimeZone(tz1);
    System.out.println("date in IST-->" + df.format(d));
    The output of this program is
    date in IST-->10/23/2007 14:30
    The formatter has changed the time component however it hasn't changed the date. It still appears as 23.
    Am I doing anything wrong here?
    Please pass your comments.
    Thanks,
    Shashi

    Please see the following link it may be helpfull to you
    1) http://forum.java.sun.com/thread.jspa?threadID=755558
    2) http://myhowto.org/java/36-all-about-locale-sensitive-time-processing-in-java/

  • Issue with Java date when different timezone involved

    Hi
    I am facing a problem with java util and SQL date due to different time zones,
    We have a applet which displays data as gant chart( microsoft project type)
    We have our server in NY (EST) which reads data from database (in EST) and sends this data to applet using applet-servlet communication (seralize object)
    This applet gets this date from servlet, does some calculation for pixcels and paints it, but now i am having problem with this calculation, since the date coming is from EST and calendar object in applet is from CST.
    How do i resolve this
    Ashish

    How are you passing the date or doing the calculation?
    I guess you're not using java.util.Date because then would have no problems. The Date class already accounts for different timezones; an instance represents a single moment of time which can be rendered differently depending on the time zone.

Maybe you are looking for

  • If I connect my Time Machine up to my wifi can I stream it's iTunes content to apple tv

    I'm getting a Time Machine and I was wondering if I can stream my backed up iTunes music, Tv Shows, Films etc to my apple tv directly from it. Thanks

  • Problem with my floppy drive

    Today i tried to use my old floppy drive. I tried to format some floppies with Kfloppy but it says something like: Internal error: device not correctly defined. Ideas how to fix this?

  • LaTeX cannot open files using reader 9

    For some reason LaTeX and adobe reader 9 don't get along. Normally, I code my document in Latex, hit compile, and it makes the pdf and has reader open the document for viewing. However, after updating to reader 9.3 I started getting error messages sa

  • Thread: ORA-12514: TNS:listener does not currently know of service request

    HI guys, I had installed oracle 10g on an AIX platform now when I try to connect to the database using the normal way sqlplus dma/***@DMAN it gives me the error: $ ./sqlplus dma/dma@DMAN SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 29 09:27:3

  • Kuler Completely Gone

    For some reason I can't access Kuler in the Window -> Extensions in all of my CS4 apps. I tried to find a kuler extension but I guess there isn't one? How can I get Kuler to show up again?