Focal Point
[CLOSED] Time format in AM & PM

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5887099216

November 17, 2011, 07:22 AM
Deepu
[CLOSED] Time format in AM & PM
Hi

I have a date (in HYYMDS format) that I pull from the database

Input_field(in HYYMDS format)
2011/01/01 08:15:00
2011/02/10 15:00:00
2011/01/01 21:25:00
2011/01/01 01:50:00


i have requirements like this
Out_field
08:15 AM
03:00 PM
09:25 PM
01:50 AM


can any one guide me how to do this plz...

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
November 17, 2011, 08:28 AM
ChristianP
Hi Deepu,

use the search!!!
Here you are:
http://forums.informationbuild...851086012#3851086012

Regards

Christian


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
November 17, 2011, 12:53 PM
Mary Watermann
Deepu,

The HCNVRT function will get you what you want:

  
HCNVRT( datetimestamp , '(HHIA)',10,'A10')



WF 7.6.10, Windows, PDF, Excel