For Programmers: Free Programming Magazines  


Home > Archive > Clarion > September 2006 > Date as String









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Date as String
Erwin

2006-09-15, 9:55 pm

I want to display this in my report:

Birth place, Birth Date : New York, 12 September 2005

My Birthplace is string with 30 character
My BirthDate is Long

How can I make the date combine with the Birthplace like that.

Not like this: New York....................., 12 September 2005

I already using Loc:Birth=Clip(BirthPlace)&' '&Clip(BirthDate)
But the result is like this:

New York, 1232323 ( not in date format)


Help me please

Erwin

Roby

2006-09-16, 7:55 am

> I already using Loc:Birth=Clip(BirthPlace)&' '&Clip(BirthDate)
> But the result is like this:
>
> New York, 1232323 ( not in date format)
>


I already using Loc:Birth=Clip(BirthPlace)&' ' & FORMAT(BirthDate,@d06.)


picture d06. gives result: 16.09.2006

picture d05. gives result: 16.09.06....

some other picture you can find in Clarion HELP


Roby







Erwin

2006-09-18, 9:55 pm

Roby,

Thank you for your information.
That is already work now.

Thank you very much
Erwin



Roby wrote:
>
> I already using Loc:Birth=Clip(BirthPlace)&' ' & FORMAT(BirthDate,@d06.)
>
>
> picture d06. gives result: 16.09.2006
>
> picture d05. gives result: 16.09.06....
>
> some other picture you can find in Clarion HELP
>
>
> Roby


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com