Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Christian Tabligan
  Where is Christian Tabligan?
 Bacolod City, Neg. Occ.
 Philippines
 Christian Tabligan
 To: surinder singh
  Where is surinder singh?
 mumbai
 India
 surinder singh
 Tags
Subject: RE: label and date and time
Thread ID: 188787 Message ID: 188812 # Views: 1 # Ratings: 0
Version: Visual FoxPro 6 Category: Forms
Date: Tuesday, August 12, 2008 8:22:05 AM         
   


> >
> > Converting time() to a character. The code is not tested. Almost forgot vfp syntax. ;-)
> >
> >
> > CriZ (,")
> >
> > "Everyone is entitled to their own opinion, but not their own facts."
>
>
> TTOC is used to convert datetime to character string
> and you are trying to convert TIME() with TTOC()
> it is generating error.
> you don't need to convert TIME()
>
> you can directly use it as
>
>   thisform.lblTime.caption = TIME()
> 

> -----------------------------------------------------------------------------------------------
> Regards
> Surinder Singh
> Email: sur200@indiatimes.com
> Check my blog for details: http://weblogs.foxite.com/sur200
> ----------------------------------------------------------------------------------------
> *If you understand what you're doing, then you're not learning anything.

Oh! Sorry.. I almost forgot that. I used that several times a decade ago. :-U

CriZ (,")

"Everyone is entitled to their own opinion, but not their own facts."

ENTIRE THREAD

label and date and time Posted by Jake Pomperada @ 8/12/2008 3:47:22 AM
RE: label and date and time Posted by Glenn Villar @ 8/12/2008 4:01:02 AM
RE: label and date and time Posted by Christian Tabligan @ 8/12/2008 6:23:19 AM
RE: label and date and time Posted by surinder singh @ 8/12/2008 7:25:48 AM
RE: label and date and time Posted by Christian Tabligan @ 8/12/2008 7:55:23 AM
RE: label and date and time Posted by surinder singh @ 8/12/2008 8:10:42 AM
RE: label and date and time Posted by Christian Tabligan @ 8/12/2008 8:22:05 AM
RE: label and date and time Posted by Yousfi Benameur @ 8/12/2008 10:28:38 PM
RE: label and date and time Posted by surinder singh @ 8/13/2008 9:08:33 AM
RE: label and date and time Posted by Yousfi Benameur @ 8/13/2008 11:15:01 AM
RE: label and date and time Posted by surinder singh @ 8/13/2008 11:23:11 AM
RE: label and date and time Posted by tushar @ 8/13/2008 1:45:31 PM
RE: label and date and time Posted by surinder singh @ 8/13/2008 1:52:11 PM
RE: label and date and time Posted by tushar @ 8/13/2008 2:49:29 PM
RE: label and date and time Posted by Yousfi Benameur @ 8/13/2008 4:14:02 PM
RE: label and date and time Posted by Christian Tabligan @ 8/14/2008 2:08:38 AM