09/10/2018, 17:45
[Q] Hỏi cách đếm ngược thời gian
có một số website cá nhân có dòng text như sau: "Còn 123 ngày nữa là đến sinh nhật 12/3 của tui" Họ làm như thế nào vậy. Ai biết thì hướng dẫn và cho tui source được không
Bài liên quan
<%
dim datMyBirthDate: datMyBirthDate = "6/29/1979"
dim datMyBirthDay: datMyBirthDay = CDate(Month(datMyBirthDate) & "/" & Day(datMyBirthDate) & "/" & Year(Now()))
if(DateDiff("d",Now(),datMyBirthDay) > 0) then
Response.Write("Con " & DateDiff("d",Now(),datMyBirthDay) & " ngay nua la den sinh nhat cua tui")
else
Response.Write("Con " & DateDiff("d",Now(),CDate(Month(datMyBirthDate) & "/" & Day(datMyBirthDate) & "/" & (Year(Now) + 1))) & " ngay nua la den sinh nhat cua tui" )
end if
%>
có một số website cá nhân có dòng text như sau: "Còn 123 ngày nữa là đến sinh nhật 12/3 của tui" Họ làm như thế nào vậy. Ai biết thì hướng dẫn và cho tui source được không
Matt's Script Archive: Countdown
... Side Include and requires that you point to the countdown script as a separate page in order to work, however ...
www.worldwidemart.com/scripts/countdown.shtml
Dynamic Drive DHTML Scripts- Dynamic Countdown Script
Click here for a live date script that displays the current date plus time, updated every second. ... Description: This is a live, dynamic countdown script that can be set to count down until any given date. ...
http://www.dynamicdrive.com/dynamici...dhtmlcount.htm
Countdown script
This form will generate JavaScript code for a text countdown -- number of days until a specific event. You can add this code in with the HTML on your Web site. Once the event passes, the code will no longer display any text.
www.kc1yr.com/scripts/countdown.php
Dynamic Drive DHTML Scripts- Dynamic Countdown Script II
Click here for a live date script that displays the current date plus time, updated every second. ... Description: Version 2 of the Dynamic countdown script is accurate to the second. ...
http://www.dynamicdrive.com/dynamici...htmlcount2.htm
Countdown in Java Script
... This implements a countdown in Javascript. For example: There are ... Include countdown.txt in the HEAD section of your document. ... own y1c problems. Countdown("July 08, 2069 00:00:00"); ...
www.bloke.com/javascript/Countdown
Free JavaScript (CountDown, JavaClock, CookieCounter, and EmailEncryptor)
These are my four best JavaScript examples. Do you know how long until Y2K goes 'Sput!'? More to come. ... otherwise they're free (because I'm such a nice guy). CountDown. CountDown just popped into my head... ... This little script (only 1.3k) encrypts you email address in your ...
www.jracademy.com/~jtucek/java.html
CGI Countdown
... CGI Countdown Script. If you have a special event planned, you may create a countdown box to countdown to a specified ...
www.1sthostwebtutorials.com/CGI%20Countdown.htm
PERL CGI Scripts from Datatrend Software.
CGI Scripts from Datatrend Software. All PERL and All free. ... AutoMail Lite. Bookkeeper Lite. CountDown. CountDown Lite. CountLink. Script Feedback ...
www.datatrendsoftware.com/cgi.html
Virgin Radio - The Station - Free Javascript/PHP countdown
... decent, and free, JavaScript countdown - here's one we knocked ... This is an accurate countdown, and does not rely on ... mouse over the resulting countdown, and IE users will see ...
http://www.virginradio.co.uk/thestat...countdown.html
Professor Al Teaches Cascading Style Sheets and DHTML
... A Countdown Script A Countdown Script A Countdown Script A Countdown Script ...
hatbox.do.losrios.cc.ca.us/~fichera/JavaScript/countdown.html
countdown script
www.online.de/home/1055-386/countdown.htm
Scriptindex: CGI/Countdown
... 51 Bewertung: 0 Stimmen: 0) Bewerten Defekter Link. Countdown Script - Zählt die Tage bis zu einen bestimmten Datum ...
www.asp2u.de/index/CGI/Countdown
Countdown Script
Countdown allows you to implement a simple countdown to a specific date in your web pages. You can have the countdown accurate to the second, minute, hour, day, month or year.
www.open.org/user-cgi/countdown
Free Countdown CGI Script
... Then put our built in Countdown script on your site! ...
http://www.assortedinternet.com/host...cgi-script.jsp
Mega Script Archive: Countdown
... Side Include and requires that you point to the countdown script as a separate page in order to work, however ...
meltingpot.fortunecity.com/canada/904/countdown.shtml.htm
Saigon 75
The sentence above was generated with the JavaScript code below. You can copy and paste all the code below -- starting with and including the <script language="javascript"> and finishing with and including the </script> to put the text-based date countdown on an HTML page of your own.
Here is your JavaScript code:
<script language="JavaScript1.2">
//Script courtesy of Sharon Gartenberg's Date Countdown
//JavaScript generator under the GNU General Public License
var today = new Date;
var Future0 = new Date;
ThisYear = 2004;
var FutureMonth = 0;
var FutureDate = 3;
var faraevent = "MUNG DANG CONG SAN";
Future0.setMonth(FutureMonth, FutureDate);
Future0.setFullYear(ThisYear);
today1 = Date.parse(today);
future1 = Date.parse(Future0);
secleft = future1 - today1;
miliday = 24 * 60 * 60 * 1000;
daysleft = secleft/miliday;
daysleftint = Math.round(daysleft);
if (daysleftint > 1)
document.write("There are ", daysleftint, " days until ", faraevent , "! ");
else if (daysleftint == 1)
document.write(faraevent, " is tomorrow! ");
else if (today1 == future1)
document.write(faraevent, " is today! ");
</script>
Ban ENVIC nếu không muốn mất công thì vào WEb site này , ban đua dữ kiện vào nó sẽ coding cho bạn free 100 phần trăm. Xem coding trên đếm ngược thời gian tới ngày thành lập Đảng 3 tháng 2 . Chỉ cần sửa coding chút xíu cho phù hơp là xong .
Vô đây nè
http://www.kc1yr.com/scripts/countdown.php
Saigon 75.
My web http://saigon750.tripod.com/