Pagkakakilanlan ng LCID ng ASP
Paglalarawan at Paggamit
Ang LCID ng ASP ay nagtatakda o nangangahulugan ng isang integer na naglalarawan ng posisyon o lugar. Ang petsa, oras at pera, at iba pang mga nilalaman ay magpapakita ayon sa posisyon o lugar.
Gramata
Session.LCID(=LCID)
Parametro | Paglalarawan |
---|---|
LCID | Identipikadong lugar. |
Mga halimbawa
<% response.write("<p>") response.write("Default na LCID ay: " & Session.LCID & "<br />") response.write("Format ng petsa ay: " & date() & "<br />") response.write("Format ng pera ay: " & FormatCurrency(350)) response.write("</p>") Session.LCID=1036 response.write("<p>") response.write("Ang LCID ngayon ay: " & Session.LCID & "<br />") response.write("Format ng petsa ay: " & date() & "<br />") response.write("Format ng pera ay: " & FormatCurrency(350)) response.write("</p>") Session.LCID=3079 response.write("<p>") response.write("Ang LCID ngayon ay: " & Session.LCID & "<br />") response.write("Format ng petsa ay: " & date() & "<br />") response.write("Format ng pera ay: " & FormatCurrency(350)) response.write("</p>") Session.LCID=2057 response.write("<p>") response.write("Ang LCID ngayon ay: " & Session.LCID & "<br />") response.write("Format ng petsa ay: " & date() & "<br />") response.write("Format ng pera ay: " & FormatCurrency(350)) response.write("</p>") %>
Output:
Ang default na LCID ay: 2052
Format ng petsa ay: 2025/3/26
Format ng pera ay: ¥350.00
Ang LCID ngayon ay: 1036
Date format is: 26/03/2025
Format ng pera ay: 350,00 €
LCID is now: 3079
Date format is: 26.03.2025
Currency format is: € 350,00
LCID is now: 2057
Date format is: 26/03/2025
Currency format is: £350.00