Changet the time from GMT to CST

Folks,
We need to change the time of our portal server from GMT to CST . Where we need to change the setting
Thanks,
Manish

Hi Sunil,
use the following code.
DATA :
  timestamp like TZONREF-TSTAMPS,
  time      like sy-uzeit,
  date      like sy-datum.
The following function module is used to convert the
time and date into GMT timestamp
CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
  EXPORTING
    i_datlo           = sy-datum
    i_timlo           = sy-uzeit
    I_TZONE           = 'INDIA'
IMPORTING
   E_TIMESTAMP       = timestamp.
The following function module is used to convert the
above obtained timestamp to PST timezone date and time.
CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
  EXPORTING
    i_timestamp       = timestamp
    I_TZONE           = 'CST'
IMPORTING
    E_DATLO           = date
    E_TIMLO           = time.
write :/ 'Date and Time at PST zone is ',date, time.
Reward if helpful.
Thanks,
Naveen.

Similar Messages

  • Function Module To Change TIME from GMT to CST

    Hello All,
    Can anyone tell me if there is any Function Module to convert the TIME from GMT to CST?
    Regards

    Hi Sunil,
    use the following code.
    DATA :
      timestamp like TZONREF-TSTAMPS,
      time      like sy-uzeit,
      date      like sy-datum.
    The following function module is used to convert the
    time and date into GMT timestamp
    CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
      EXPORTING
        i_datlo           = sy-datum
        i_timlo           = sy-uzeit
        I_TZONE           = 'INDIA'
    IMPORTING
       E_TIMESTAMP       = timestamp.
    The following function module is used to convert the
    above obtained timestamp to PST timezone date and time.
    CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
      EXPORTING
        i_timestamp       = timestamp
        I_TZONE           = 'CST'
    IMPORTING
        E_DATLO           = date
        E_TIMLO           = time.
    write :/ 'Date and Time at PST zone is ',date, time.
    Reward if helpful.
    Thanks,
    Naveen.

  • What's happening with EE's signal? Its been out most of the time from 12/06

    Hi.What's happening with EE's signal? Its been out most of the time from 12/06

    Hi ,
    There is a fault logged with a mast in your area and our engineers are working to get it back up and running as soon as possible.
    We are are very sorry for the inconvenience in the meantime.
    Thanks
    James

  • How to change the CORE-id/ Access server audit time from GMT to local

    When we enabled the auditing for CORE-Id and Access server, we noticed a mismatch on the time stamp. The ‘eventDateAndTime’ field for CORE-id server has audited the event in local time while the same for Access server is audited as GMT time. We wanted to make it consistent for both the servers; preferably to the local time.
    Any idea, How to do it?

    Hello,
    Try using this
    rd = new ReportDocument();
            rd.Load(Server.MapPath("CrystalReport1.rpt"));
            cninfo = new ConnectionInfo();
            //Name of server to which you want to change to runtime
            cninfo.ServerName = "D-3206";
            //Name of database to which you are changing
            cninfo.DatabaseName = "tempdb";
            //username
            cninfo.UserID = "sa";
            //password
            cninfo.Password = "sa";
            crDatabase = rd.Database;
            crTables = crDatabase.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table crTable in rd.Database.Tables)
                // Get the TableLogOnInfo from the Table and then set the new
                // ConnectionInfo values.
                TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
                crLogOnInfo.ConnectionInfo = cninfo;
                // Apply the TableLogOnInfo
                crTable.ApplyLogOnInfo(crLogOnInfo);
                // Set the location of the database. This value will vary from          // database to database.
                crTable.Location = crTable.Location; //"DATABASE.OWNER.TABLENAME";
    CrystalReportViewer1.ReportSource = rd;
    Thanks,
    Bhushan.

  • HOW DO YOU CHANGE THE REGION FROM GMT TO EASTERN STANDARD TIME

    i have been having a problem for one month with Photosmart 7510 all in one. I can't use the efax feature.  Get an error message unable to sync.  I have called hp and spoke to supervisor and also called efax.com.  They are not supporting this feature apparently. I am no longer able to fax. 
    Also I was able to change the date and time, but the screen only shows GMT. It doesn't show the United States.
    I am very frustrated not getting any help.

    Hi @Jewel19, 
    Welcome to the HP Support Forums.   I see that you are having issues with the eFax feature of your Photosmart 7510 printer.
    I have included a link to a post by @PrintApper regarding eFax titled eFax users - please read.  It has the information regarding the eFax feature.
    I have also included the Setting up the All-in-One (Hardware) document.  Please follow the instructions in “Step five: Set the time zone, time, and date” for setting the date on your printer.
    I hope the above helps. 
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • How do I reduce the time from the detection of a input threshold to changing the output?

    Hi,
    I am using LabWindows 8.1 and a PXI-4461 with Vista (home) on a 2.81 GHz Dual Core Processor.  I wrote code to do the following:
    (1) output a ramp, input a signal concurrently (precise sychronization of these two is not important at this point)
    (2) if the input signal rises above 0.5 V, hold the output constant for 2 seconds, while continuing the input
    (3) finish the ramp
    More info: I do a continuous sampling, with 4 samples per Write, to do the output.  The input is read and analyzed with RegisterEveryNSamples (where N = 4).  The communication between the tasks is through a global variable "trap," which is set to 1 when threshold is reached.  I achieve holding the output constant by stopping the task (maintain existing value = true), and then restarting after the pause.  At 40kHz and 4 samples per Write, the limit imposed by the discrete data blocks would be  0.1 msec, but in fact I am getting delays of about 2.5 msec.  My write buffer is 120x4 samples, just so that there is space for me to write.  I do need to save the input data after the
    acquisition, preferably the whole sweep, but most importantly the data
    while the output is held constant.  
    So my questions are:
    (a) Does it really take 2 ms to stop a task? When I put in "Timer()"  functions as below, I get a difference of 0.002, which is of course limited to the resolution of the Timer() function. Returning from a function (the EveryN callback) should not take that long, right?
    (b) Can you suggest any better ways of doing this?
    /*****begin excerpt *****/
    DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(inputTaskHandle,DAQmx_Val_Acquired_Into_Buffer,4 ,0,EveryNCallback,NULL));
    DAQmxErrChk (DAQmxWriteAnalogF64(outputTaskHandle,480,0,10.0,DAQmx_Val_GroupByChannel,outData,&written, NULL));
    DAQmxErrChk (DAQmxStartTask(inputTaskHandle));
    DAQmxErrChk (DAQmxStartTask(outputTaskHandle));
        for (count =120;count<10000; count++)
            if (trap==0) {
                DAQmxErrChk (DAQmxWriteAnalogF64(gTaskHandle,4,0,10.0,DAQmx_Val_GroupByChannel,&outData[count*sampsToWrite],&written,NULL));
            } else {
                    DAQmxErrChk (DAQmxStopTask(outputTaskHandle));
                    time2 = Timer();
                    done = 1;
                    ProcessDrawEvents();
                    ProcessSystemEvents();
                    Delay (2.0);
                    trap = 0;
                    count++;
                    DAQmxErrChk (DAQmxWriteAnalogF64(outputTaskHandle,480,0,10.0,DAQmx_Val_GroupByChannel,&outData[count*4],&written,NULL));
                    count = count+119;
                    DAQmxErrChk (DAQmxStartTask(outputTaskHandle));
    /*****end excerpt *****/
    int32 CVICALLBACK EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples,void *callbackData)
        DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,nSamples,10.0,DAQmx_Val_GroupByScanNumber,&readData[inCount*nSamples],nSamples,&numRead,NULL));
        if (trap == 0 && done == 0) {
            for (i=0; i<nSamples; i++) {
                if (readData[inCount*nSamples+i] > 0.5) {
                    trap = 1;
                    time1 = Timer();
                    break;
        } else done = 1;
        inCount++;
    Error:
        return 0;
    I would appreciate any help or advice! Thanks.  (Sorry about oddities in the code.)

    There are a number of applictations like Carbonite, Aperture, Entourage, VM Fusion, Parellels, etc that treat any change to the application as a complete change to application's database.
    So, if you make one small email change in Entourage for example, the entire database is backed up on the next pass. As you might imagine, this can fill up a Time Capsule very quickly.
    Suggest that you download a utility like BackupLoupe to find out exactly what is being backed up on each pass. Then you can exclude that item from backups if you wish.
    http://soma-zone.com/BackupLoupe/

  • How do I assign a timer to the DAQ module so that it counts the time from the start of the collection?

    Hi Everybody,
    I'm new to LabVIEW and need some help!
    I have setup a system that acquires the data from 4 thermocouples. I have then split the data to provide 4 temperature versus time graphs. The temperature fluctuates up and down but the time values at the bottom do not change? What I would like is for the time values to represent the amount of time the data has been collected for!
    I have attached my program, so please give me any ideas! Also any other improvements that you feel would make it better, please dont be shy!
    Alex
    Attachments:
    Thermocouple Temperatures21.vi ‏365 KB

    The time is not increasing/changing because you have "Ignore Timestamp" Checked  (right click on a graph to uncheck)  This should fix the problem
    Kenny

  • Problem in retreiving the time from the table

    I have stored time in varchar2 format but in forms in order to enable a button i have to compare the time,for that I have used to_char(sysdate,'HH24') as : is not working.How to retreive the time in its exact format/?

    Hi,
    When you compare the Date and Time Fields which of varchar Type, we will get undesirable results.
    Always, Trying Store date in DATE Type.
    As, you are using stroed in Character type,
    Just try something like this,
    SELECT TO_DATE ('23:00:00', 'HH24:MI:SS')
      FROM DUAL;Which displays the
    Date
    6/1/2012 11:00:00 PMThe better way is to convert your varchar2 type to date format and check against it.
    Thanks,
    Shankar

  • How can i extract using while the time from the string ?

    First time how can i extract the time as string ?
    And second how can i extract the time as DateTime.Now ?
    public static void ExtractDateTime()
    htmltoextract = new Uri("http://test.com");
    client = new WebClient();
    f = client.DownloadString(htmltoextract);
    client.Dispose();
    int index = 0;
    while (index != -1)
    int t = f.IndexOf(firstTag);
    int g = f.IndexOf(lastTag);
    a = f.Substring(t + firstTag.Length, g - t - 8);
    The string look like this: thisisateststring201309202145andthenextimeinthestringis201309202130andthelastofthisexampletimeinthisstringis201309202115
    What i need to do is first time to extract the time as string to a List<string> like this:
    index 0 201309202145
    index 1 201309202130
    index 2 201309202115
    The second time to extract the times as this time format: YYYYMMDDhhmm and also to add the times to a List.
    First time and second time i mean first example and second example. To use my code but first time to extract it as strings second example as the format of YYYYMMDDhhmm
    And i need to use the while and indexof and substring in this cases.

    Is the region always going to be "eu" or are you going to have more than one region.  Since you are reading a string DateTime from different timezone than the computer you are reading the data you have to convert to a different timezone. 
    It looks like you have at least 'is' and 'eu' for regions.  I don't know what offsets you need so try something like this.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Text.RegularExpressions;
    using System.Globalization;
    using System.IO;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    string input = File.ReadAllText(@"c:\temp\test.txt");
    string pattern1 = @"imageUrls = \[[^\]]*\]";
    Regex ex1 = new Regex(pattern1, RegexOptions.Singleline);
    string pattern2 = @"region=(?'region'[^&]*)&time=(?'time'\d{12})";
    Match match1 = ex1.Match(input);
    Regex ex2 = new Regex(pattern2, RegexOptions.Singleline);
    MatchCollection matches2 = ex2.Matches(match1.Value);
    IFormatProvider provider = CultureInfo.InvariantCulture;
    List<DateTime> dateTime = new List<DateTime>();
    foreach (Match match2 in matches2)
    string region = match2.Groups["region"].Value;
    DateTime dt = DateTime.ParseExact(match2.Groups["time"].Value, "yyyyMMddHHmm", provider);
    switch (region)
    case "eu" :
    dt.AddHours(1);
    break;
    case "is":
    dt.AddHours(-1);
    break;
    dateTime.Add(dt);

  • How to synchronize the time from an internal ip adress (MS ISA Server)

    How I can synchronize the time of eMac client from an internal Time Server (Microsoft ISA Server).
    I have setting the DHCP time parameter but it does not work in the e Mac but only in Windows clients (2000 and XP).
    My Firewall does not allow the eMac client to synchronize from the external time server.
    Sorry for my english.
    Best regards,
    Stefano

    Yes but selection allow to select only Apple Time Server: in my case Apple Europe (time.euro.apple.com).
    The possibility does't exist to set up an other server outside of those proposals.
    If you know like modifying the values proposals and adding a fixed IP for example, it makes to know me.
    Sorry for my english and Thank you for your post
    Stefano

  • How to enter the time from the jdbc application

    Hello,
    I have a problem while entering time from my jdbc application.
    I was entering time with TIMESTAMP but it is also entering the date,i want to enter only the time in to database from my application.

    Conceptal problem
    I doubt any database supports a data type that only takes a time. The most common data type always takes a date component and time component.
    That means it will ALWAYS have a date component.
    The solution is for you to write code that ignores the date part. That can involve something like using a fixed date for all entries, stripping to seconds, using SimpleDateFormat to display/parse etc.
    Or don't use a database data type that is time specific. Instead just use a integer and stored seconds from midnight. Or some variation of that.

  • Cannot change the time from am to pm in Calendar T...

    No matter how I try, the time the reminder/alarm just doesn't change from am to pm. Is there some special trick to that?

    Once you've entered the time are you pressing the '7' key (with a 'p' on it) to state that the time is pm?
    Alternatively, have you tried entering the time in 24-hour format?
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Music vanishes all the time from iPod touch using the iTunes App...

    Hi
    I am often not near a computer and prefer to purchase music for my iPod Touch from the iTunes app on the Touch itself. This has worked fine for many months. I believe my iPod is a 3rd gen. However lately I suddently noticed that some music purchased recently was completely missing from the iPod, even some songs purchased as part of an album just vanished... the rest of the album songs were still there, but a couple of random ones had just gone.
    Now, every time I try and purchase and download something from the iTunes App (I literally just tried it again) it just doesn't appear in the purchased playlist.. or anywhere on my iPod in fact.
    Essentially, I've wasted my money on buying songs that just don't appear. I've also noticed that the music search chugs a lot these days, as if there's some sort of background problem.
    I recently upgraded the software (with multitasking etc) but the problem hasn't been fixed.
    This is a really frustrating issue, and I have purchased several songs twice and got nothing! So really keen to see if anyone has seen it before and if they can please help me?
    I've tried deleting apps, restarting the iPod... when I try and sync with the PC, the purchases are nowhere to be seen. It's all a bit disappointing really!
    I'm on a 64Gig iPod touch and have 41 Gig showing as available!
    Please help, I've searched for hours and got nothing on this specific issue.
    Thanks

    hmmm nobody can help me? Is this because nobody wants to tell me I've wasted my money?

  • Query to deduct the time from current date and time

    I want to get the query to deduct time(180 mins) from the current date and time.
    Regards
    Pavan

    SQL> select to_char(sysdate,'dd.mm.yyyy hh24:mi:ss') curr,
      2         to_char(sysdate - interval '180' minute,'dd.mm.yyyy hh24:mi:ss') past from dual
      3  /
    CURR                PAST
    24.08.2007 16:18:37 24.08.2007 13:18:37
    SQL> 

  • In last two weeks Thunderbird freezes all the time from when first opened

    when I open Thunderbird new mail shows but the screen freezes. If I wait I can click to open mail but it then freezes again immediately so not able to open any mail or to send new messages. After a year of using, this is a new problem in the last two weeks. Nothing else on my laptop has been changed in that time.
    Please help!

    MacAfee. This is provided by our ISP and there has been no change to this since moving to ISP in Feb 2013. The TBird problem is recent
    when I go to extensions it tells me "you do not have any addons of this type installed. Do you have any other ideas? I don't understand the instructions about disabling scanning of Tbird folders. Is that in MacAfee? Don't know what a systray icon is!

Maybe you are looking for