a little java help
a little java help
Out of context: Reply #1
- Started
- Last post
- 11 Responses
- neverblink0
first split the TargetDate up in parts so you can calculate the next date.
----var TargetMonth = 12;
var TargetDay = 31;
var TargetYear = 2007;TargetDate = TargetMonth +"/"+ TargetDay +"/"+ TargetYear;
---then when ( secs < 0 )
you should make a correct date from this, but you can do something like:
---TargetDay = TargetDay+7;
//make TargetDate again
---and then call the function again.