|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to show current date and time?
Hi, just wondering how to display the current date and time on a form?
Many Thanks Marc |
|
#2
|
|||
|
|||
|
Hope you are not joking
For Date use Date function "DATE" and for time use Time function "TIME" if you need formating use FORMAT u can find in msdn help |
|
#3
|
|||
|
|||
|
MsgBox Format(Now, "DD/MM/YY")
MsgBox Format(Now, "HH:MM:SS") ![]() |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > How to show current date and time? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|