Question

Je crois avoir à nouveau une question stupide: -)

<%@language="JScript"%>
<%
htmlStr+="<tr><td><br/>Order date: "</td><tr>";
%>

Comment puis-je obtenir et remplir la date effective après la date commande?

Thx à l'avance!

Était-ce utile?

La solution

so JScript on the server side?

<%@language="JScript"%>
<%
var htmlStr = "", d = new Date();
htmlStr += "<tr><td><br/>Order date: " + d.getDate() + "</td><tr>";
Response.Write(htmlStr);
%>

Autres conseils

var d = new Date();
document.write(d.getDate());
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top