Front Office Football Central

Front Office Football Central (https://forums.operationsports.com/fofc//index.php)
-   FOFC Archive (https://forums.operationsports.com/fofc//forumdisplay.php?f=27)
-   -   VB Question (https://forums.operationsports.com/fofc//showthread.php?t=32214)

GoldenEagle 11-22-2004 12:38 PM

VB Question
 
Does anyone know how I would wrtie the code to tell a label to display the current time of the day?

VPI97 11-22-2004 12:56 PM

Label1.Caption = Time()

MJ4H 11-22-2004 12:57 PM

Label1.Caption = Time

MJ4H 11-22-2004 12:59 PM

DOLA

and if you want it to update, you can use the Timer function to have it update each minute or whatever.

GoldenEagle 11-23-2004 10:20 AM

I treid it and the timer is still not dispalying right. Also how do I combine the code and the timer event?

Mr. Wednesday 11-23-2004 03:40 PM

Quote:

Originally Posted by GoldenEagle
Does anyone know how I would wrtie the code to tell a label to display the current time of the day?

lbl.Caption = Now()

Or, lbl.Caption = Format$("...", Now())

(where "..." is the actual format you want applied)

Mr. Wednesday 11-23-2004 03:40 PM

Quote:

Originally Posted by GoldenEagle
I treid it and the timer is still not dispalying right. Also how do I combine the code and the timer event?

In the timer event, put in code to update the label. Does that answer your question?

JasonC23 11-23-2004 03:57 PM

Are we seriously so mature now here at FOFC that no one has started a "VD Question" parody thread?

Bonegavel 11-23-2004 04:06 PM

Quote:

Originally Posted by JasonC23
Are we seriously so mature now here at FOFC that no one has started a "VD Question" parody thread?


You have a keyboard and access to the forum young man.

JasonC23 11-24-2004 07:57 AM

I know, but when I started a thread entitled, "Cardinal Hires Shecky Green" during the Dennis Green board domination, I think I hit my all-time parody thread high.

Man, that's not saying a whole lot, is it?


All times are GMT -5. The time now is 09:41 PM.

Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.