Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 9 of 9
Search took 0.04 seconds.
Search: Posts Made By: Durakken
Forum: JavaScript programming 11-17-2012, 10:44 PM
Replies: 17
Views: 865
Posted By Durakken
Grrr... so I got the next one all programmed...

Grrr... so I got the next one all programmed out... and now I'm stuck yet again...
Whenever a multiple of 2557 is entered the date returned is wrong and this seems to push the date off a little.
...
Forum: JavaScript programming 11-17-2012, 03:50 AM
Replies: 17
Views: 865
Posted By Durakken
I see. No problem. Perhaps you can help fix...

I see. No problem.

Perhaps you can help fix with this other one that i almost have working.
7 days = 1 week
7 weeks = 1 month
7 months = 1 year (343 days)
the 8th year is 7 months of 21 days...
Forum: JavaScript programming 11-17-2012, 01:41 AM
Replies: 17
Views: 865
Posted By Durakken
Why would you do that? People like you infuriate...

Why would you do that? People like you infuriate me.
I spent the last few days trying to figure this out while I asked for help, but instead got you being arrogant and then when I get it all figured...
Forum: JavaScript programming 11-16-2012, 11:42 PM
Replies: 17
Views: 865
Posted By Durakken
I figured out this part. Thanks for the help......

I figured out this part. Thanks for the help... now to work on the next one... which I hope i can figure out

Here's the code i ended up with... I know it's not all that pretty, but it seems to be...
Forum: JavaScript programming 11-16-2012, 03:13 AM
Replies: 17
Views: 865
Posted By Durakken
I only see if-else or switch as a viable way of...

I only see if-else or switch as a viable way of doing it less there is something. The if-else/switch is needed to select the month in general. There is no other place that that month selection takes...
Forum: JavaScript programming 11-16-2012, 12:09 AM
Replies: 17
Views: 865
Posted By Durakken
what I was thinking is doing this year =...

what I was thinking is doing this

year = days/365.25
Array MonthEnd(31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365)
DayOfYear = days - (year*365)

if year is divisible by 4 leap = yes...
Forum: JavaScript programming 11-15-2012, 09:23 PM
Replies: 17
Views: 865
Posted By Durakken
Yes. The Julian system is "more or less" 365.25...

Yes. The Julian system is "more or less" 365.25 days system with a whole bunch of odd things that happened to it. The gregorian system is 365.2425 or some where close to that, making only centuries...
Forum: JavaScript programming 11-15-2012, 06:07 AM
Replies: 17
Views: 865
Posted By Durakken
document.write doesn't do that... well on...

document.write doesn't do that... well on different browsers it doesn't... not really important as i can adjust that.

I know the other things. I considered it and decided to go with this style...
Forum: JavaScript programming 11-15-2012, 05:47 AM
Replies: 17
Views: 865
Posted By Durakken
I need this programmed...

Yeah... I haven't programmed in a while and really don't want to relearn everything just to do this simple thing so could someone please do this for me?

I need a program where I can stick in a...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT +1. The time now is 06:53 PM.