Link to home
Create AccountLog in
Avatar of PeterErhard
PeterErhard

asked on

Javascript Variable Question

I have the following javascript script which returns the following:

8 Days 20 Hours 52 Minutes 15 Seconds

I'm needing to get each of the values into seperate variables I can use in PHP for a query before I put it into the div named Countdown2.  Any ideas on how I could do this?

Basically as follows:

Days = 8
Hours = 20
Minutes = 52
Seconds = 15


									<script type="text/javascript">
									$(function () {

										$('#Countdown2').countdown({until:
										$.countdown.UTCDate(0,2013,4-1,5,8,30,0,0)});

									});

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer