What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » how much time to go? [DILEMMA 1]

Poll: What is (more) correct according to you
1 year and 1 day
1 year and 0 days
[Show Results | Edit Poll]
how much time to go? [DILEMMA 1]
Author: Message:
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: how much time to go? [DILEMMA 1]
quote:
Originally posted by CookieRevised
quote:
Originally posted by John Anderton
Dont tell me that if you were leaving on the 31st of march and coming back on the 1st of Janmay you would say that ill be back in precisely 1 month and 1 day
You will return in 1 month and 0 days.

Is that really so? What if you left on april 1st... wouldn't that be "1 month and 0 days" to come to the date 'may 1st'?
You cant consider a day back to be the rounded off day ??

Like if you are on march 31st and you have to go 1 month ahead then you "ideally" land up on 31st april which doesnt exist.
So you have 2 possibilities. You can either go with 30th of April or with 1st of may

Well that basically is your dillema isnt it. Jumping from an existing date to a non existant one leads to the need of rounding up of the date (either incrementing or decrementing)

If we decrement it we get 'x' years 'y' months and 1 day.
If we increment it we get 'x' years 'y' months and 0 days.

So my solution is that we increment it based on the simple principle of rounding up of decimals so to speak. Even tho we dont cosider the time in hours to round up, i would rather increment it cause thats what most of us do.

Today ill go and post this question to my friends as well. Ill pm you with the results so you can add them to the poll :)

I see you need this for that Holiday countdown plugin ;)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-03-2006 06:43 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
how much time to go? [DILEMMA 1] - by CookieRevised on 01-01-2006 at 08:07 AM
RE: how much time to go? [DILEMMA 1] - by John Anderton on 01-01-2006 at 08:22 AM
RE: how much time to go? [DILEMMA 1] - by Val on 01-01-2006 at 08:52 AM
RE: RE: how much time to go? [DILEMMA 1] - by CookieRevised on 01-01-2006 at 09:07 AM
RE: how much time to go? [DILEMMA 1] - by WDZ on 01-01-2006 at 09:01 AM
RE: how much time to go? [DILEMMA 1] - by Sunshine on 01-01-2006 at 12:25 PM
RE: how much time to go? [DILEMMA 1] - by CookieRevised on 01-02-2006 at 03:31 PM
RE: how much time to go? [DILEMMA 1] - by hmaster on 01-02-2006 at 03:37 PM
RE: how much time to go? [DILEMMA 1] - by Yousef on 01-02-2006 at 03:53 PM
RE: how much time to go? [DILEMMA 1] - by haydos on 01-02-2006 at 04:06 PM
RE: RE: how much time to go? [DILEMMA 1] - by CookieRevised on 01-02-2006 at 04:38 PM
RE: how much time to go? [DILEMMA 1] - by Chris4 on 01-02-2006 at 05:11 PM
RE: how much time to go? [DILEMMA 1] - by Tochjo on 01-02-2006 at 05:30 PM
RE: how much time to go? [DILEMMA 1] - by John Anderton on 01-02-2006 at 06:17 PM
RE: how much time to go? [DILEMMA 1] - by CookieRevised on 01-02-2006 at 08:03 PM
RE: how much time to go? [DILEMMA 1] - by John Anderton on 01-03-2006 at 06:43 AM
RE: how much time to go? [DILEMMA 1] - by CookieRevised on 03-07-2006 at 01:10 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On