  | |  | date count | date count 2004-03-31 - By wllm
Back
hello everyone !
does anyone know how can make this script more perfect ?:
i need to get the amount of time between a date and hour right now and 16/july/2004...
i have this script:
today = new Date (getFullYear,getMonth,getDate ); tomorrow = new Date (2004, 06, 16); todayMS = today.getDate() tomorrowMS = tomorrow.getDate()
//togo is dynamic text variable togo = ((tomorrow-today)/(1000*60*60*24))
now, how do i make it that it gives not like 106,54789665 but 106 days to go...?
thanks! wllm.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Server geeks, take heart! If you're sick of wading through animation & graphics instruction for relevant info., then Nate Weiss' Macromedia Flash MX Professional 2004 for Server Geeks is for you. Leave designing to designers and dig into core concepts to create rich user interfaces, online advertising, and more. See www.peachpit.com for more info. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/FLASHmacromedia/
<*> To unsubscribe from this group, send an email to: FLASHmacromedia-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Earn $52 per hosting referral at Lunarpages.
|
|
 |