|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: FormatDateTime |
From: |
Håkan Malmberg |
Date: |
6/27/2000 9:46:49 AM |
IP: |
193.12.91.35 |
I found this at ewebcity. It solved my problem.
This single line will cause the server to display dates to dd-mm-yyyy but also 1,452,223.95 to 1.452.223,95, without doing anything special more. Now you can just do a Reponse.write(Date()) and that is all.
<%
Session.LCID=myLCID Place this after your first ASP open tag in a page
YOU NEED TO CONVERT THE NUMBERS BELOW FROM HEX TO DECIMAL !!!
myLCID is the DECIMAL notation of one of the HEX-numbers below.
LCID Language - Country/Region
---- -------------------------
0406 Danish - Denmark
0407 German - Germany
0409 English - United States
0809 English - United Kingdom
040c French - France
0413 Dutch - Netherlands
0813 Dutch - Belgium
0414 Norwegian - Norway (Bokmål)
0814 Norwegian - Norway (Nynorsk)
For a complete listing of country codes check:
http://www.microsoft.com/typography/OTSPEC/lcid-cp.txt
To convert Hex-numbers to Decimal numbers use the Windows
Calculator. (Accessories)
Go to the menu View, click Scientific.(Layout will change)
Click Hex, enter the number, and click Dec.
%> |
Previous Message
|
|

|
|
|
|
|
|
|
|
|
|