I am using ASP to access a database and pull out the date in the database
that is in this format: 7/5/2005 9:20:22 AM

I want to make it display on the page in this format which is a standard
miltary DTG(Date/Time/Group) format and in Zulu (GMT - Grenwich Mean Time).
For example this would be how I would display the above date and time:

050920Z JUL 05

DDHHMMZ MMM CC

Any clue as to how to get this done?

I did find this webpage, but copied and pasted over to an asp page on the
server, and I get an error...the page is from 2003, so maybe the code has
changed a bit?

Any help is appreciated.

Thanks,

Doug

Re: Date - Time Format by Doug

Doug
Fri Aug 19 21:57:03 CDT 2005

Whoops. Here is the webpage I found with the code:

http://www.frontpagewebmaster.com/m-127132/tm.htm#127132

"Doug" <dtcress@nospam.cox.net> wrote in message
news:gXwNe.759$UI.5@okepread05...
> I am using ASP to access a database and pull out the date in the database
> that is in this format: 7/5/2005 9:20:22 AM
>
> I want to make it display on the page in this format which is a standard
> miltary DTG(Date/Time/Group) format and in Zulu (GMT - Grenwich Mean
Time).
> For example this would be how I would display the above date and time:
>
> 050920Z JUL 05
>
> DDHHMMZ MMM CC
>
> Any clue as to how to get this done?
>
> I did find this webpage, but copied and pasted over to an asp page on the
> server, and I get an error...the page is from 2003, so maybe the code has
> changed a bit?
>
> Any help is appreciated.
>
> Thanks,
>
> Doug
>
>



Re: Date - Time Format by Bob

Bob
Sat Aug 20 09:20:10 CDT 2005

Doug wrote:
> I am using ASP to access a database and pull out the date in the
> database that is in this format: 7/5/2005 9:20:22 AM
>
Please don't multipost. I've already replied to this question over at
.asp.db. If you feel you must direct your question at multiple
newsgroups*, then post one single message to the desired groups by
putting the group names into the To list (aka crosspost)



Bob

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"