View Full Version : format date time
10-28-2007, 08:06 PM
i am using
<div class=tdate><%= formatdatetime(todaysdate,1) %></div>
now the problem is that this is displaying in other languages if the client computer is set in another language.
how can i force it to always be in English?
10-29-2007, 11:13 AM
I cannot see how that is possible. This formatdatetime function is running on the server. The output is sent as a string to the client. The client should just display the string and do nothing further with it. The settings of the servermachine will determine how it is displayed. Not the client settings.
10-29-2007, 11:30 AM
well i see it in english - my cleint see it in hebrew.
the server is actually set to hebrew -- how can i force it to display in English?
10-29-2007, 06:20 PM
setting the content-language attribute?
<meta http-equiv="Content-Language" content="en-us">
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.