|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
how to make military time with seconds without am/pm
I want to output 10:10:35 PM like this:
22:10:35 how do i do it? Thanks. |
|
#2
|
|||
|
|||
|
never mind, i figured it out:
Code:
<%= Hour(Now()) %>:<%= Minute(Now()) %>:<%= Second(Now()) %> |
|
#3
|
||||
|
||||
|
checkout format keyword in VB also
EDIT: Just seen you're using ASP, FORMAT will not work |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > how to make military time with seconds without am/pm |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|