Convert Activity time to EST

The activity universe returns everything in GMT I want to convert it to EST any ideas on how to do this?

[SAP NOTE  1428277|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134323832373726]  has what you need albeit for MySQL.
We use something similar to adjust the timestamp for EST in Oracle.

Similar Messages

  • How to convert epoch time to EST/EDT

    10g sql

    thanks for your answer, but I asked to use sql loader instead of the external table, which so my question is why can not the epochtime converted to datetime, if there is no way to convert a datetime epochtime using sql loader, so I'm required to use the external table. thank you.
    This is my error log:
    Column Name Position Len Term Encl Datatype
    DATADATA FIRST * , CHARACTER
    SQL string for column : "TO_DATE('1-Jan-1970 00:00:00','dd-MM-YYYY hh24:mi:ss') + (:DATADATA/60/60/24)"
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Edited by: xoops on Sep 21, 2011 12:33 PM

  • Convert date time local Timezone  to GMT

    I need to get GMT time...
    How to convert local time to GMT ?
         public static long getGMTNow()
             Calendar local = new GregorianCalendar();
             local.set(Calendar.HOUR_OF_DAY, 0);              
             local.set(Calendar.MINUTE, 0);
             local.set(Calendar.SECOND, 0);
             System.out.println(local.getTime());
             System.out.println(local.getTimeInMillis());
             Calendar gmtC = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
             gmtC.setTimeInMillis(local.getTimeInMillis());
             System.out.println(gmtC.getTime());
             return gmtC.getTimeInMillis();
         }Result :
    Thu Feb 12 00:00:00 EST 2009
    1234414800034
    Thu Feb 12 00:00:00 EST 2009
    1234414800034

    Calendar gpsTime = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
             gpsTime.set(Calendar.HOUR_OF_DAY, 10);              
             gpsTime.set(Calendar.MINUTE, 0);
             gpsTime.set(Calendar.SECOND, 0);
             System.out.println("gpsTime: "+gpsTime.getTime());
             Calendar realtime= new GregorianCalendar();
             realtime.set(Calendar.HOUR_OF_DAY, 5);              
             realtime.set(Calendar.MINUTE, 0);
             realtime.set(Calendar.SECOND, 0);
             System.out.println("realtime: "+realtime.getTime());
             System.out.println("COMPARETO : "+ realtime.compareTo(gpsTime));
             long timediff = realtime.getTimeInMillis() - gpsTime.getTimeInMillis();
             System.out.println(timediff/1000 + " sec");RESULT :
    gpsTime: Mon Feb 16 05:00:00 EST 2009
    realtime: Mon Feb 16 05:00:00 EST 2009
    COMPARETO : 1
    0 secOk, I done my homework. getTime() will allways return local time so I need to set the GPS time to a GMT Calendar to get the right result.
    Funny thing, look at the compareTo result....

  • Convert local time to GMT

    Hi everybody,
    i receive a lot of operation date from many worldwide ports like these:
    SINGAPORE 23/FEB/2011 13:50 (local time)
    GHENT(NL) 23/FEB/2011 12:00 (local time)
    i'm required to convert these information to GMT date.
    I've found NEW_TIME function but it seems inadequate:
    1) the function does not consider daylight saving periods; i mean when tmz1 switches from daylight savings on to daylight savings off and tmz2 does not, the function does not change the time difference (at least it's the result of my test unless all valid timezones switch at the same time)
    2) valid parameters are 18 therefore they don't cover all the possible combinations
    Could you please help to cope the matter ?
    Many thanks in advance
    Stefano

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Hsiung ([email protected]):
    How can i convert local time to GMT time in
    the Form?<HR></BLOCKQUOTE>
    David,
    there is a date function caled NEW_TIME that should work. For ex:
    select to_char(new_time (sysdate, 'EST','GMT'), 'HH:MI:SS')
    from dual;
    05:31:00

  • Resource monitor says my hard drive is at 100% active time

    According to the resource monitor my HP Vista desktop HD often goes to 100% active time. When this happens my computer grinds to a halt.  I have had the resource monitor open and saw this.  I have researched this on the net and i see that many people have this problem but i did not see any workable solutions. One answer was that it was a page fault problem and that i needed to change the word size, i did and it did not help.  Anybody have any ideas?
    Thanks, Ralph
    This question was solved.
    View Solution.

    Hi Ralph,
    Have you isolated the offending process using Task Manager?
    You could also try this MS Technet program to isolate the rogue process. This link has disk monitoring utilities that may help to isolate the culprit.
    Jaco
    ++++++++++++++++++++++++++++++++++++++++++++++++++​+++
    H8 1380t CTO, Intel i7 3820
    16 GB DDR3
    Pegatron Motherboard- IPIWB-PB (Pittsburgh), Radeon HD 7570 1GB. Win 7 Home Premium upgraded to Windows 8.1 Pro.
    Envy Phoenix 810-150se, Intel i7 4820k
    12 GB DDR3
    Pittsburgh2 Mainboard, NVIDIA GTX 645- 2GB GDDR5. Win 8.1 Pro.
    HP 560z CTO AMD processor and chipset,
    16 GB DDR3.
    Radeon HD 6570
    Win 7 Home Premium upgraded to Win 7 Pro.
    HP ENVY 17t-j000 CTO Quad Edition Notebook. Win 8.0 Pro
    Errare humanum est.

  • How to convert epoch time to datetime in sql*loader Oracle

    Hello,
    I wan't to question how to convert epoch time to datetime in sql*loader Oracle. I try this script for convert epoch time to datetime in sql*loader, but error:
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    This is my loader:
    LOAD DATA INFILE 'C:\Documents and Settings\Administrator\My Documents\XL_EXTRACT_211\load.csv'
    into table TEMP_TEST_LANGY append
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    DATADATA CHAR "TO_DATE('01-JAN-1970','DD-MON-YYYY')+:datadata/86400"
    This is my csv file:
    79314313.7066667
    79314336.2933333
    79314214.3466667
    This is my table:
    CREATE TABLE TEMP_TEST_LANGY
    DATADATA DATE
    Thanks
    Edited by: xoops on Sep 21, 2011 8:56 AM
    Edited by: xoops on Sep 21, 2011 8:58 AM

    thanks for your answer, but I asked to use sql loader instead of the external table, which so my question is why can not the epochtime converted to datetime, if there is no way to convert a datetime epochtime using sql loader, so I'm required to use the external table. thank you.
    This is my error log:
    Column Name Position Len Term Encl Datatype
    DATADATA FIRST * , CHARACTER
    SQL string for column : "TO_DATE('1-Jan-1970 00:00:00','dd-MM-YYYY hh24:mi:ss') + (:DATADATA/60/60/24)"
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Edited by: xoops on Sep 21, 2011 12:33 PM

  • Can I convert Facebook time Text to Project Siena's Date value ?

    Can I convert Facebook time Text to Project Siena's Date value ?
    I want to show create_time on screen by my Localtime formatted text.
    Facebook time Text = 2014-07-14T11:22+0000
    I want to show = 2014/07/14 18:22
    My Time Zone is +09:00, Osaka/Japan.
    Currently I try it by Text/Replace/Replace/Replace/Left/DateValue/+ , etc.
    And I ask more simple way.
    Regards,
    Yoshihiro Kawabata

    Thank you Andy , and Robin, I can.
    Text(TimeValue(Substitute(ThisItem!created_time,"+0000",".000Z")),"yyyy/mm/dd hh:mm")
    At Facebook Albums's Gallary, I can convert from Facebook created_time to Localtime Text DateTime.
    and I hope more easy way like Excel Power Query's one.
    Regards,
    Yoshihiro Kawabata

  • Can I convert Twitter time Text to Project Siena's Date Value ?

    Can I convert Twitter time Text to Project Siena's Date Value ?
    I want to show localtime of Twitter created_at.
    Twitter time text = ThisItem!created_at , ex: Tue Jul 15 17:19:00 +0000 2014
    I want to show 2014/07/16 02:19 by Japan localtime.
    Regards,
    Yoshihiro Kawabata

    Siena uses JavaScript to parse date/times, via the TimeValue function. A good specification regarding what is acceptable can be found here:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse
    The example above is truly bizarre: I thought I had seen it all. You will need to turn that form into one of those listed on the above site, using string functions to chop it up and reassemble it into a saner form.

  • How convert date/time from xml in xdp(Designer)?

    Hi, i want to convert date/time format from xml in Designer, date/time value in xml is NOT in common format YYYY-MM-DD (if is in a common format i can do this with pattern)
    I have a "DateTime" Field in Xdp can get from Xml date and time:
    In XML <DateTime>DD-MM-YYYY</DateTime> i want to convert in XDP in DateTime Field in "DD-April-YYYY"
    Can i do this?

    You can do this way..
    Bind the date field to your XML tag.
    Set the display pattern for the date field.
    In the initialize event of the date field place the following code.
    Set JavaScript as language.
    var dtStr = this.rawValue;
    var pos1=dtStr.indexOf("-");
    var pos2=dtStr.indexOf("-",pos1+1);
    var strMonth=dtStr.substring(0,pos1);
    var strDay=dtStr.substring(pos1+1,pos2);
    var strYear=dtStr.substring(pos2+1);
    //Assign the formatted value to the Date field.
    this.rawValue = strYear + "-" + strMonth + "-" + strDay;
    Thanks
    Srini

  • Converting UTC time stamp to local time (CET)

    Is there a smooth way to convert a time stamp from UTC time into the local time (e.g. CET)?
    CONVERT TIME STAMP.... Just converts the timestamp from local time zone to UTC, is there another comand to perform the opposite conversion?
    TIA!
    /Armin

    Hi Armin
    The statement does not only convert from local time zone to UTC you can specifiy any timezone:
    CONVERT TIME STAMP time_stamp TIME ZONE tz
            INTO [DATE dat] [TIME tim]
            [DAYLIGHT SAVING TIME dst].
    The following statement can also be used to convert from date time to timestamp.
    CONVERT DATE dat [TIME tim [DAYLIGHT SAVING TIME dst]]
            INTO TIME STAMP time_stamp TIME ZONE tz.
    Regards
    Faaiez

  • FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.

    HI EXPERTS,
         FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.
    PLS DO HELP.....

    Hiii gita
    we have another FM SPELL_AMOUNT
    regards
    Jaipal

  • Need function module to convert system time to local time

    Hi Experts,
    Need function module to convert system time to local time.
    i.e country specific that to in HH:MM format.
    Thanks in advance.

    Dear Prince,
    Kindly check the following link which contains the list of function modules for date and time conversion.
    [http://www.sap-img.com/abap/date-month-pop-related-function-modules.htm]
    Regards

  • Help Converting Excel Time( Function to DAX

    I have a column of data that has a text string that represents a time of day.  Example if 55553 which is 5:55:53 AM.
    I need to convert the time to Eastern, and display in a time format.  Here is the formula I am currently using in Excel:
    =(TEXT([Time of Day],"00\:00\:00")+0)+TIME(1,0,0)
    Can you help me convert to a DAX approach please?

    Hi Scott,
    you need the TIME-function in DAX: TIME(hours, minutes, seconds)
    https://msdn.microsoft.com/en-us/library/ee634564.aspx
    With some combinations of LEFT & RIGHT Text-Functions, you should be able to pick out the needed numbers from your string. Very much like Excel.
    Imke

  • Column Activity time of DB2 Thread Activity is sorted improperly

    Dear Thomas!
    There is a small but annoying problem... The column of "Activity Time" in "Thread Activity" ALV table is not sorted properly.
    The field of "ACTTIME" contains time amounts in two different formats if the amount includes days or doesn't.
    The note 1280173 doesn't correct the problem. Even after this note the column sorted in the descending mode looks in such a way:
    12:13:14.156789
    099d 12:13:14.5      
    07:24:34.157890
    030d 12:13:14.5      
    020d 12:13:14.5      
    01:24:34.157890...
    The desired format (even with "d" for days):
    d099 12:13:14.5      
    d030 12:13:14.5      
    d010 12:13:14.5      
    12:13:14.156789
    07:24:34.157890
    01:24:34.157890...
    It is an ALV table and its numerical fields are displayed as right-justified and character fields as left-justified despite leading spaces. A correction is required, either in the sorting routine or in these values presentation.
    Best regards,
    Vlad

    My advice: Don't hold your breath.
    SAP Note 1280173 is for BC-DB-DB2, aka DB2 for z/OS. Since this platform has at best 1% of the SAP market share, I would not expect such a small non-critical annoyance to be fixed quickly. That is just based on my limited experience with SAP on Z. SAP probably has bigger issues to solve on platforms with far more market share.
    We're still waiting for the recommended runstats and reorgs to work with a schema other than the ABAP stack's SAPR3. At the moment, DSNACCOR is able to feed SAP all recommended runstats and reorgs, but SAP can only handle the ones with SAPR3. The others (including SAPJAVA) are ignored. We were first promised that this would be fixed in SAP_BASIS 7.00 SP17 and had to wait 6 months for this SP to be released after we identified the deficiency. It was NOT fixed in SP17. Now we are told the runstats piece MIGHT be corrected in SP18 (due out February 2009) and the reorgs MIGHT be corrected in SP19. We will have been waiting well over a year for this basic functionality that works with other supported SAP DB platforms.
    Best of luck!
    Brian

  • Cost of order and total standard activity times

    Hi,
    please let me know from which table i can get the following
    1.Planned total cost of a production order  &
    2.Total standard activity times of production order.
    Regards
    Ramesh

    for order cost use function module /CWM/CKCOPROD_ORD_TARGET_COST
    test the function module with your abaper if it returns the vadesired values, through table it will be vary complecated.
    for order related activity times please check AFVV, AFVC and AFRU tables .
    hope this will help
    reward if useful
    Thank you
    Anand

Maybe you are looking for

  • Error Message- 'The application was unable to start correctly (0xc000007b).

    'The application was unable to start correctly (0xc000007b). Click OK to close the application.' I receive the error whenever turning on my laptop, and have ever since installing Lightroom4. Please help!

  • Basic phone data package

    im new new to the data package.   on the verizon site it says navigator, ringback tones are included with the basic data package. do i interpret that to mean that i am not charged for those features if I access them?  does it go against my data count

  • Return Delivery of Intercompany Transfer Order

    Dear guru , I want to know all the transactions for the logistic and accounting process of Return of Intercompany transfer order. Thanks.

  • How long we can go with Java from now on?

    Days ago, the forum is blue. But now change to red. Java, will it still be hot like along with Sun? How long we can go with you?

  • Multiplication in DMEE

    Hi Experts! I'm facing an issue I would like to share with you and ask for your help. I'm creating a new DMEE format tree and I have to use multiplication in one field. Is it possible at all? I need a field "Taxes" which should be calculated as: Comm