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

Get the time in AM and PM ---> Urgent

Hi all,

Can any one help me out to print the time in AM and PM i.e. e.g.. 1:00 am and 2:00 and so on 3:00 pm.Do let me know ASAP if you have got the solution for this

Regards,

Sudhakar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2006 at 11:11 AM

    Hi,

    Hi Use this FM

    HRVE_CONVERT_TIME

    in that you need to specify

    TYPE_TIME 'A'

    INPUT TIME

    INPUT_AM_PM 'AM' or 'PM'

    -


    TYPE_TIME A

    INPUT_TIME 13:00:00

    INPUT_AM_PM AM

    Export parameters Value

    OUTPUT_TIME 01:00:00

    OUTPUT_AM_PM PM

    Regards,

    Ram

    Pls reward points if helpful

    Message was edited by: Ram Mohan Naidu Thammineni

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2006 at 11:14 AM

    Hi sudhakar,

    1. 14:00:00 = 02:00 PM

    2. use this FM

    HRVE_CONVERT_TIME

    3. In the parameter TYPE_TIME, give 'A'.

    regards,

    amit m.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2006 at 11:22 AM

    Hey Really thanks a lot and cheers I have given the points 😊

    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.