Date time string from UME-SPML interface

Hi,
I am using the UME-SPML interface to manage users in SAP UME and using AS ABAP user management as the user store for UME.
I have noticed a problem in the date time string returned in the SPML search response when I search for a user. When you search for a user, normally you get 3 date time strings for "validfrom", "validto" and "lastmodifydate".
These are what have been returned in the SPML response:
<attr name="lastmodifydate"><value>20101019030648Z</value></attr>
<attr name="validfrom"><value>20101019010000Z</value></attr>
<attr name="validto"><value>25001230010000Z</value></attr>
When I check the same user with the user management administration console, I get these:
Date of Account Creation: Oct 19, 2010 2:06:48 PM (Eastern Standard Time (New South Wales))
Start Date of Account Validity: Oct 20, 2010 12:00:00 AM (Eastern Standard Time (New South Wales))
End Date of Account Validity: Dec 31, 2500 12:00:00 AM (Eastern Standard Time (New South Wales))
The timezone I am in is GMT10 (Australia Eastern Standard Time (New South Wales)) and now we in day light saving so effectively we are in GMT11 now.
You can see that the datetime string for "lastmodifydate" correctly reflects what's shown on user management administration console.
But the datetime strings for "validfrom" and "validto" seems to get the conversion wrong: both seem to be using 12 hour format instead of 24 hour format. (2010 10 19 01 00 00Z should be 2010 10 19 13 00 00Z and 2500 12 30 01 00 00Z should be 2500 12 30 13 00 00Z)(I have put in a space in the string to break up the date time components)
Anyone has any idea what went wrong here?
Regards,
GG

Also search service.sap.com for the term "sy-zonlo".
Personally I am a member of the [flat earth society|http://en.wikipedia.org/wiki/Flat_Earth_Society] when it get to this topic, because it causes no end of problems.
Most customers simply stop operations on 31.12.xxxx or before, or alternately use reporting tools to make corrections afterwards.
In the security realm, SAP also respects server side timestamp tolerances (only a few seconds are allowed).
Time is server time in my books. Some people work late, others early - and there is nothing you can control to stop a customer in the US from placing an order via a system in Japan anyway.
Anyway, this is probably a program error with the 12 hour format in the component software or possibly the API interface to user management in your release so you should open a customer message with SAP (my best guess).
Cheers,
Julius

Similar Messages

  • Increment the number with date/time string. when ever the next date come's it should reset again with initial number

     i want to store the number of records in a file. Every time when ever i run the program the record will be incremented well i using forloop with count value 1 as a constant .in the for loop i am using autoincrement with the  feedback node . to view the number i have attached the indicatator .the number will be increment every time . i am using number to time time stamp  that is connected to get date/time string. from that we can view the date string and time string . so , my issue is when ever i close the code again it is coming with intial value . i should get from that number only where ever i close the code . after the date completed again it should come from intial value . i am attaching the code so that u guys can solve my problem.
    Attachments:
    record.doc ‏34 KB

    here you can see.......the file path in case structure in that i have included my requirement of increment the number 
    -> if the case is true then it goes in ok file path and the no of records string will pass in the file by seeing these code u will get the clarity
    my requirement is the number of records should increase ........ whnever the program runs...that i made it. by the next day again it should begain with the intial value.........that is my requirement. i hope u understand .
    suggest me how can i use the  intial  value .......
    Attachments:
    code.vi ‏35 KB

  • Day of year bug - format date/time string and scan from string?

    I've noticed that the day of year returned by "Format Date/Time String.vi" starts with a value of 1 for Jan-1 while "Scan from String.vi" wants a 0 index.  Is this a bug or feature?  
    (I'm using Labview 2010 Service Pack 1)

    I think the best idea is to use seconds since for your arithmetic, because it is going to be the most consistent and robust solution. Knowing that a day has 86400 seconds is all that is needed and you won't run in possible inconsistencies with date time implementations caused by our anything but logic calender. I would hazard that the functionality of converting a timestamp into year and day of year and back is impossible to make consistent without sacrificing other possibly conflicting transformation in the Timestamp into String and Timestamp from String manipulations.
    "Seconds since" being the actual base unit in all LabVIEW timestamps, it is best to do any arithmetic on it in this base unit.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to compare Date/time string

    I read from datalog file including Date/time string ,and want to query the special Date/time string span ,how to compare the data/time string ?

    Hello Joshua,
    To compare date/time you have to extract the different components (day, month, year, hour, minute, second) anyway. Why not "convert to seconds"? I think it's easier to compare one number (where you also can do other math, like calc the difference and so on) than to compare seven (?) parameters with some exceptions... If the dates are read from excel (there was a similar thread some days ago), why not convert to seconds in excel (just a format change)?
    Best regards,
    GerdW
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Week returned by Format Date/time String

    Has anyone tested the Format Date/Time String function with the week formating codes?
    I want to create a subfolder for each week and name the folder accordingly. For 17 December 2003 the week is 51 in the year 03 but I get week 50. For 29 December 2003 the week is 01 in the year 04 but I get week 52. For 01 January 2004 the week is 01 in the year 04 but I get week 00. For 29 December 2004 the week is 53 in the year 04 but I get week 52. For 01 January 2005 the week is 53 in the year 04 but I get week 00. There is no difference using %U or %W as code (this will be if 1 January will fall on Sunday or Monday which it does not in my examples).
    I know normally a year has weeks 1 to 52 but in some years the last week may have week
    53 as in 2004. Adding 1 to the week does not solve the problem. For 29 December 2003 it would give 53. And 53 maybe a correct week as in 2004. For 1 January 2005 it would give 1 but the week is the week in the year before.
    All the week numbering I expect is correct for Germany but the function is not. Is the numbering from the function correct for your country?
    Please reply where you are located and if the function will work right for you.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

    I have found two resources about date and time and their formats.
    One is the ISO Standard 8601, the second is a german page. On this page along with other information all definitions used by Windows is listed.
    According to this page the ISO Standard has been established in Europe and most industrial countries. In USA it is ANSI X3.30-1985(R1991) and NIST FIPS 4-1.
    Since the ANSI definition you mentioned allows only Sunday (Jewish) or Monday (Christian) as first day of the week it ignores the Islamic world. For them the first day is Saturday. I could not gather information about Buddhistic or Hinduism
    based countries.
    For my application and the market aimed the ISO format is the one which will be choosen. Using %W and handling of week 0 should do it.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Problem converting U8 array to date-time string

    Hi All,
    How can I convert U8 array (time_t data type from C dll) to date time string?
    A dll function that I am calling has a structure of string, integer and time_t as one of the parameters. Instead of passing cluster, I pass an array of U8 of the size that the structure should be. All the members of the strcuture and parsed correctly except the date/time.
    Function Parameter:
    typedef struct {
    Int AlarmState ;
    Int AlarmGrade ;
    TCHAR AlarmMessage [100] ;
    time_t AlarmTimeStamp ;
    } WV_ALARM_INFO ;
    Total size = 4 + 4 + 100 + 4 = 112
    Using Call Library Function, I set the parameter type to Array of U8 and size 112.
    After the array is populated when the function is called, I have done the following to interpret date and time.
    1) Using Extract Zero Terminated String.VI I converted U8 array (of size 4) to string.
    2) Type casted string to integer (I32).
    3) Swap bytes
    4) Swap Words
    5) Format Date/Time String.
    Please see the attached screenshot for visual display of the above.
    Ideas on why the year is incorrect?
    Mimansa
    Attachments:
    Time.JPG ‏102 KB

    Hi Mimansa,
    Is it only the year that is incorrect? Also, where did you find that ABC\0 VI that you use 3 times? Did you make it or is it in a labview library somewhere?
    Thanks,
    Laura

  • When I run this VI "Waveform Time to Date Time String" in LabView 7.0 it will not pass decimals of seconds.

    When I run this VI "Waveform Time to Date Time String" in LabView 7.0 it will not pass decimals of seconds. From decimals of inputline. If i disconnect the input to the subVI "Get Date/Time string vi" it will work propperly, it also doses if I reconnect it. I use LabViev 7.0.
    So the problem i solved, but i dosent understund why it works in this way. Does it indicate other problems which will make my researchprogram unrelaible ?
    Attachments:
    Waveform_Time_to_Date_Time_String.vi ‏18 KB

    Hello.
    I checked your vi and it fails as you state.
    It runs fine if: 1 Convert number to timestamp OR
    2 Wire a constant to want seconds?
    In labview 7.1, no problems.
    I think is a job for NI engeniers.
    Hope it helps
    Alipio
    "Qod natura non dat, Salmantica non praestat"

  • Convert Data type from Oracle Data time string to SQL Date time data type

    I have a time stamp column pulled from oracle into a SQL server db table varchar datatype column.
    Now i want to change that column to date time.
    Following is the data present in the table:
    01-APR-11 02.15.00.026000 AM -08:00
    01-APR-11 04.15.00.399000 AM -08:00
    01-APR-11 06.15.00.039000 AM -08:00
    I want to convert this data into sql server datetime data type.
    Please advice.
    Thanks,
    Sam.
    I am unable to find the solution in other sites which is why I have posted it in Oracle forum for seeking solution.
    Thanks in Advance.
    Sam.

    Sam,
    How are you actually loading the data into SQL*Server - are you using something like an Oracle gateway, BCP or another Microsoft utility of some sort ?
    If you are using an Oracle problem then we may be able to help but if using a Microsoft utility then you should really follow up with Microsoft to know what format the data should be in to use a Microsoft utility.
    Regards,
    Mike

  • Date/time conversion from UTC to CET

    Hello,
    Jjust a little question to our SAP BI community!
    Is there a BI function/ggod way that converts a (datetime) string DDMMYYYYHH:MM:SS  in UTC time zone into a string DDMMYYYYHH:MM:SS in  CET timezone ?
    We receive this string in input in a flat file and need it to convert from UTC to CET.
    Or do you know any way to convert a date/time from IUTC to CET, eveen using an ABAP function?
    Thanks a lot,
    Matthieu

    Hi,
    Check this thread for time conversion from UTC to Local time
    [ABAP statement for converting UTC date/ time to local date/time],
    Regards,
    Daya Sagar

  • Reading date/time type from Microsoft Access in LabWindows 7.1

    Hi,
    I'm afraid I'm having some trouble reading some date information from an MS Access table.  I assume it's returned as a string (and this may be my first mistake) but when I use DBBindColChar I just get garbage information.  This is the code I'm using:
      sprintf(queryString, "SELECT date_time, type, serial_number, Voltage_at_G5_V, Voltage_at_G6_V \
                            FROM gain \
                            WHERE serial_number=%lf \
                            ORDER by date_time", *serialNumber);
    followed by...
      queryHandle = DBActivateSQL (pmtDataHandle, queryString);
    and....
        resCode = DBBindColChar (queryHandle, 1, 22, internal_date, &dateStatus, "");
      resCode = DBBindColChar (queryHandle, 2, 4, internal_type, &typeStatus, "");
      resCode = DBBindColDouble (queryHandle, 3, internalSerialNumber, &serialNumberStatus);
      resCode = DBBindColDouble (queryHandle, 4, &g5VRead, &g5VStatus);                         
      resCode = DBBindColDouble (queryHandle, 5, &g6VRead, &g6VStatus);
    Is there anything special about the type date/time that I am not taking care of?  All of the other columns read back fine....
    Thanks in advance
    Message Edited by acrmartin on 02-23-2006 02:59 PM

    Hello,
    Just copy and paste the contents to a new post - that will do it
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Erase date/time digits from footage

    Dear friends,
    I've searched the Web and these forums in search of the perfect method to get rid of the date and time digits from a series of footage clips. I've discovered that one of the suggested ways to make them disappear is to apply a blur mask, but after a series of tests, it looks they are still too visibile, even after applying the mask.
    Does anybody know if there is a plug-in or a way to make those time stamp digits disappear from the affected footage?
    Any help would be greatly appreciated

    I've discovered that one of the suggested ways to make them disappear is to apply a blur mask, but after a series of tests, it looks they are still too visibile, even after applying the mask.< </div>
    All you can do is make it look less bad. You cannot remove these kinds of pixels, they are part of the image. Reshoot the footage using a different shooter, someone who knows how to operate the camera.
    My favorite related dufus story: Guy comes to me with footage he shot of his kid playing soccer. He says, "My kid kicked the goal but you can't see him. It's digital. You can edit out the people standing in front of the camera, right?"
    bogiesan

  • Retrieve date/time (timestamp) from MaxDB?

    Hi,
    how to retrieve date and time from MaxDB?

    Hello,
    please try
    select now(), date(now()), time(now()) from dual
    Regards Thomas

  • How do you remove the date/time stamp from a photo before printing?

    I have one group of photos in an event that have the date and time stamp on them.  I don't know how to remove the date/time stamp before printing. 

    If you have your camera set to imprint the date/time on the photo you can not "remove it - it is a part of the photo - depending on the surounding photo you might be able to retouch it out
    LN

  • UME-SPML interface

    Hi,
    We are using UME-SPML interafce to create users. This is a direct interafce to UME without any functaionlity of SAP Identity management being used.
    Is there a way the monitor for the SPML requests in J2EE engine?  I have read that with IDM 7.1 such a monitor exists. Is there anything similar for the systems which are not using IDM.
    Thanks,
    Viktnat

    Hi
    Following notes may of help to you.
    1064236,1114059 & 1286024
    Regards
    Shan

  • Converting date time string to double data

    I have to plot a bar chart. The VI accepts only 2-d double data. My X- axis is date timestamp and Y- axis is the double data.
    Bt I am unable to convert the timestamp value to double.
    Anyone can suggest anything ?
    Regards,
    Runjhun.

    Thnx a lot Darin.
    Bt may be I should be more clear with my reqmts.
    In the image attached the data to be plotted is stored in Excel from LabVIEW.
    And the graph is plotted in Excel selecting the data.
    Plotting of graph is maual.
    I want that the graph plotting should be automatic.
    In RGT der's a function Excel Plot Graph bt the problem is dat it takes only 2d double array as I mentioned earlier.
    May be dis wil make my problem clearer.
    Regards,
    Runjhun A.
    Attachments:
    plot_type.jpg ‏3724 KB

Maybe you are looking for