friends i have 4 fields as HR,MIN,SEC,AM_PM_Flag.
how to concate these fields to get time stamp like HR:MIN:SECAM_PM_FLAG. i tried with the regular : but all i got is HRMINSECAM_PM_FLAG.
thanks for ur help
time stamp concatenation
Moderators: chulett, rschirm, roy
Code: Select all
linkname.HR:linkname.MIN:linkname.SEC:linkname.AM_PM_Flag
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you want delimiters, you have to concatenate them in, too.
Or, if you can be certain that each component is two characters long, you can concatenate first and format later.
Code: Select all
HR : ":" : MIN : ":" : SEC : " " : AM_PM_Flag
Code: Select all
Fmt(HR:MIN:SEC:AM_PM_Flag, "R##:##:## ##")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.