ASP LCID ÊôÐÔ

Session ¶ÔÏó²Î¿¼ÊÖ²á

¶¨ÒåºÍÓ÷¨

LCID ÊôÐÔÉèÖûò·µ»ØÒ»¸ö¹æ¶¨Î»ÖûòµØÇøµÄÕûÊý¡£ÖîÈçÈÕÆÚ¡¢Ê±¼äÒÔ¼°»õ±ÒµÈÄÚÈݶ¼»á¸ù¾ÝλÖûòµØÇøÀ´ÏÔʾ¡£

Óï·¨

Session.LCID(=LCID)
²ÎÊý ÃèÊö
LCID µØÇø±êʶ·û¡£

ʵÀý

<% 
response.write("<p>")
response.write("Default LCID is: " & Session.LCID & "<br />")
response.write("Date format is: " & date() & "<br />")
response.write("Currency format is: " & FormatCurrency(350))
response.write("</p>")

Session.LCID=1036

response.write("<p>")
response.write("LCID is now: " & Session.LCID & "<br />")
response.write("Date format is: " & date() & "<br />")
response.write("Currency format is: " & FormatCurrency(350))
response.write("</p>")

Session.LCID=3079

response.write("<p>")
response.write("LCID is now: " & Session.LCID & "<br />")
response.write("Date format is: " & date() & "<br />")
response.write("Currency format is: " & FormatCurrency(350))
response.write("</p>")

Session.LCID=2057

response.write("<p>")
response.write("LCID is now: " & Session.LCID & "<br />")
response.write("Date format is: " & date() & "<br />")
response.write("Currency format is: " & FormatCurrency(350))
response.write("</p>")
%>

Êä³ö£º

Default LCID is: 2052
Date format is: 2020/4/19
Currency format is: £¤350.00

LCID is now: 1036
Date format is: 19/04/2020
Currency format is: 350,00 €

LCID is now: 3079
Date format is: 19.04.2020
Currency format is: € 350,00

LCID is now: 2057
Date format is: 19/04/2020
Currency format is: ¡ê350.00

Session ¶ÔÏó²Î¿¼ÊÖ²á

VUE