Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function HHMMSS(A8)

Status
Not open for further replies.

rummage

MIS
Apr 8, 2003
33
US
Hi,

I have this question:

I am trying to create a unique ID for the session. For that I am concatenating UserID + Date + Time.
For time, I use HHMMSS(A8).

My code is like the following:

-SET &AJB = GETUSER(A8) || &YMD || HHMMSS(A8);

The problem is that HHMMSS results in a value that contains the character '.'

I would like to remove the '.' from the value. How can I do that. Can I use any string manipulation function for this?

Thanks
Thambaiya
 
Thanks Frank van de Kant. I have done the code using the EDIT. It works.

Thambaiya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top