Skip to Content
author's profile photo Former Member
Former Member

hhhhhh:mm format data element

Hi Experts,

I have to upload an excel file into program and update a Ztable. In the Excel file there is a column which is maintaining time in the format as follows:

d.hh:mm

317.22:15

i.e. 317 days 22 hours and 15 mins, if we add 3 hours to it then it will be 318.01:15.

I want a field to store this type of time format in the ztable.

So can u suggest me any data element which can solve my problem or any other solution.

Can I get a data element which can have hhhhhh:mm or hhhhhh:mm:ss format, so that i can store it using this format after calculating e.g. 317*24 = 7608; as 7608 + 22 = 7630; 007630:15 :: hhhhhh:mm.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2012 at 01:36 PM

    Hi Abhi,

    Your date time format does not contains year - check if You want to ignore it.

    If You do not need year, than You can store it simply as INT4 type

    and use conversion exit to change int to / from hhhhhh:mm:ss format.

    Alternatively, You can convert it to date and time fields.

    Regards,

    --

    Przemysław

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 09, 2012 at 05:22 AM

    Hi,

    You can use the data element ANLVZ. or you can create your own data element with taking data type as TIMS which stores time as hhmmss.

    Regards,

    Ramesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2012 at 10:56 AM

    Hi,

    To be more specific, You can also use Data element TIMESTAMP which is in Form (YYYYMMDDhhmmss) It's a UTC (Universal coordinated time) timestamp.

    Regards,

    Mukul

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.