Kimble
Erfahrenes Mitglied
Ich hab versucht mit asp einen count down zu erzeugen, aber des funktioniert nicht, kann mir jemand helfen!!!
<%
CountdownDate = #31/12/2001 00:00:00AM#
If Date >= CountdownDate Then
Response.Write "Ziel erreicht!"
Response.End
End If
theDate = Now
DaysLeft = DateDiff("d",theDate,CountdownDate) - 1
theDate = DateAdd("d",DaysLeft,theDate)
%>
<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
Systemzeit: <%= Now %>
<p>Es sind noch <%= DaysLeft %>Tage bis zum Zeitpunkt <%= CountdownDate %>.</p>
</body>
</html>
<%
CountdownDate = #31/12/2001 00:00:00AM#
If Date >= CountdownDate Then
Response.Write "Ziel erreicht!"
Response.End
End If
theDate = Now
DaysLeft = DateDiff("d",theDate,CountdownDate) - 1
theDate = DateAdd("d",DaysLeft,theDate)
%>
<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
Systemzeit: <%= Now %>
<p>Es sind noch <%= DaysLeft %>Tage bis zum Zeitpunkt <%= CountdownDate %>.</p>
</body>
</html>