من به جای b هر عددی می گزارم بازم جوابش تغییر نمی کنه
<%
Function dateToLng(strdate)
If Split(strdate,"/")(1) < 10 Then
dateToLng = Split(strdate,"/")(0) & 0&Split(strdate,"/")(1) & Split(strdate,"/")(2)
Else
dateToLng = Split(strdate,"/")(0) & Split(strdate,"/")(1) & Split(strdate,"/")(2)
End If
End Function
a = dateToLng(date)
b =6222006
response.write (dateToLng(date))
%>
</br>
<%response.write (b)%>
</br>
<%
if b > a then
response.write ("b")
%>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><input type="text" name="T1" size="20" value="45"><input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<%
else
%>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><input type="hidden" name="T1" size="20" value="45"><input type="hidden" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<%=x%>
<p>
<%end if%>
<%
Function dateToLng(strdate)
If Split(strdate,"/")(1) < 10 Then
dateToLng = Split(strdate,"/")(0) & 0&Split(strdate,"/")(1) & Split(strdate,"/")(2)
Else
dateToLng = Split(strdate,"/")(0) & Split(strdate,"/")(1) & Split(strdate,"/")(2)
End If
End Function
a = dateToLng(date)
b =6222006
response.write (dateToLng(date))
%>
</br>
<%response.write (b)%>
</br>
<%
if b > a then
response.write ("b")
%>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><input type="text" name="T1" size="20" value="45"><input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<%
else
%>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><input type="hidden" name="T1" size="20" value="45"><input type="hidden" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<%=x%>
<p>
<%end if%>