What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Counter in Nickname Released New Version 1.0.15 (7th of April)

Counter in Nickname Released New Version 1.0.15 (7th of April)
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April)
quote:
Originally posted by Jamibu
All i was wondering is if it was possible to introduce one more tag into the plugin, to display months. I am counting up from an event over 7 months ago, and I would prefer it to say 7 months, 4 days etc. than 218 days.
'Months' is a different kind of time unit than 'days', 'hours', 'minutes' and 'seconds'. Months (and years) do not have a fixed length, whereas days, hours, minutes and seconds do have a fixed length. An hour is always 60 minutes, a minute is always 60 seconds, etc[*].... But a month is not always x days.

In context of counting down time, this is extremely important to make that difference. When dealing with the term 'months' in context of calculating elapsed time (and thus not in context of dates), it will always be 30 days, there is no logical way around it.

As CyBeRDuDe has said, you would think there are two ways of including such a tag:
1) Just divide the number of total days by 30, to give a number of elapsed months, and the rest would be elapsed days...
2) Calculate each month ahead, including 1 day in february when leap year, etc...

Now, method 2 is not so accurate as you might think. In fact it will be way more off and inconsistant in many circumstances. This is because you are mixing two contextual things together: dates and elapsed time. Those two can't be logically mixed. eg:

Consider two datetimes (leaving the hours, minutes and seconds away for the purpose of simplification): '28 februari 2005' and '28 march 2005'. How many months are there between the two dates? Following the logic of point 2, you would say, precisly 1 month, and I would agree with you...
Same with '17 September' -> '17 October' = 1 month
Same with '5 June' -> '5 July' = 1 month

But consider another starting datetime: '31 march 2005'
When will there be 1 month elapsed? 30 april? 1 may?
If you say 30 april, then what about if the start date was 30 march?
If you say 1 may, wouldn't that make the start date 1 april?

If you say you had dinner 1 month ago, and the current date is:
29 march, when did you had the dinner? 28 februari? 1 march?
30 march, when did you had the dinner? 28 februari? 1 march? 2 march?
31 march, when did you had the dinner? 28 februari? 1 march? 2 march? 3 march?

Or: It is januari 29th, and you will have dinner in 1 month. does that mean februari 28th? march 1st? What about having dinner in 1 month and 2 days? What would that be?
Or: It is march 29th, and you had dinner 1 month and 1 day ago. When did you had the dinner?
Or: It is march 29th, and you had dinner 1 month and 2 days ago. When did you had the dinner?

As you can see there is no logic in all this, and that is why, in context of time differences, a month is always considered 30 days.

Unless you only consider the month number and not days, hours, etc. eg: now it is march, one month ago it was februari (even if you say this on march 31st).

That is also why, when you ask to calculate the difference in units of months, any API function and other native function of a programming language wich deals with datetime differences will only consider the month and will disregard any other time unit. Thus you'll get: februari 1st - januari 31st = 1 month, although only 1 day has ellapsed. Or if other time units can't be disregarded (as in the countdown plugins) it will always take 30 days as a 'month'...

(The same with year calculations btw)

-----

[*]Although a day will not always be 60*60*24 seconds! This is extremely rare though.

But as a matter of fact, december 31st 2005 will actually be 1 second longer if you live in the GMT or a GMT- timezone!! If you live in a GMT+ timezone januari 1st will be 1 second longer. This is what is called a leap second.

This post was edited on 12-29-2005 at 08:04 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-29-2005 07:50 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 03-09-2005 at 06:31 PM
RE: Counter in Nickname Released - by Screeny on 03-09-2005 at 06:49 PM
RE: Counter in Nickname Released - by user27089 on 03-09-2005 at 07:00 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-09-2005 at 07:33 PM
RE: RE: Counter in Nickname Released - by Doemaarwat on 03-09-2005 at 09:44 PM
RE: Counter in Nickname Released - by Cromp on 03-09-2005 at 08:20 PM
RE: Counter in Nickname Released - by jren207 on 03-09-2005 at 08:32 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-09-2005 at 09:48 PM
RE: Counter in Nickname Released - by Doemaarwat on 03-09-2005 at 09:56 PM
RE: Counter in Nickname Released - by taz030485 on 03-09-2005 at 10:23 PM
RE: Counter in Nickname Released - by wipey on 03-09-2005 at 10:37 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-09-2005 at 10:44 PM
RE: Counter in Nickname Released - by Joa on 03-09-2005 at 11:09 PM
RE: RE: Counter in Nickname Released - by Doemaarwat on 03-10-2005 at 07:56 AM
RE: Counter in Nickname Released - by wipey on 03-09-2005 at 11:26 PM
RE: Counter in Nickname Released - by taz030485 on 03-10-2005 at 02:26 AM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 06:55 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 08:20 AM
RE: RE: Counter in Nickname Released - by taz030485 on 03-10-2005 at 08:35 AM
RE: Counter in Nickname Released - by Chestah on 03-10-2005 at 08:30 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 08:33 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 08:38 AM
RE: RE: Counter in Nickname Released - by taz030485 on 03-10-2005 at 08:47 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 08:49 AM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 09:14 AM
RE: RE: Counter in Nickname Released - by Doemaarwat on 03-10-2005 at 09:20 AM
RE: RE: Counter in Nickname Released - by taz030485 on 03-10-2005 at 09:49 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 09:24 AM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 09:44 AM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 09:55 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 09:57 AM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 10:18 AM
RE: Counter in Nickname Released - by Doemaarwat on 03-10-2005 at 10:22 AM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 10:25 AM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 12:18 PM
RE: Counter in Nickname Released - by Eljay on 03-10-2005 at 12:21 PM
RE: RE: Counter in Nickname Released - by taz030485 on 03-10-2005 at 12:40 PM
RE: Counter in Nickname Released - by John on 03-10-2005 at 01:23 PM
RE: Counter in Nickname Released - by BrOkEn on 03-10-2005 at 08:20 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-10-2005 at 08:35 PM
RE: Counter in Nickname Released - by Eljay on 03-11-2005 at 07:48 AM
RE: RE: Counter in Nickname Released - by haydos on 03-12-2005 at 09:34 AM
RE: Counter in Nickname Released - by Eljay on 03-12-2005 at 10:08 AM
RE: RE: Counter in Nickname Released - by haydos on 03-12-2005 at 10:31 AM
RE: Counter in Nickname Released - by user27089 on 03-12-2005 at 10:20 AM
RE: Counter in Nickname Released - by Eljay on 03-12-2005 at 10:36 AM
RE: Counter in Nickname Released - by Art Crazy on 03-12-2005 at 01:34 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-12-2005 at 01:39 PM
RE: Counter in Nickname Released - by Eljay on 03-12-2005 at 01:41 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-12-2005 at 01:46 PM
RE: Counter in Nickname Released - by Art Crazy on 03-12-2005 at 02:05 PM
RE: Counter in Nickname Released - by riahc4 on 03-13-2005 at 05:26 PM
RE: Counter in Nickname Released - by (CyBeRDuDe) on 03-13-2005 at 07:27 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-22-2005 at 01:22 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by BeerBro on 03-22-2005 at 04:14 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by John on 03-22-2005 at 01:20 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by BeerBro on 03-22-2005 at 01:54 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-22-2005 at 09:56 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by John on 03-22-2005 at 10:14 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by jmccarroll on 03-23-2005 at 09:06 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-23-2005 at 09:45 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by taz030485 on 03-23-2005 at 11:11 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-23-2005 at 01:20 PM
RE: RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by taz030485 on 03-23-2005 at 11:04 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by Kruxx on 03-23-2005 at 04:42 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by albert on 03-24-2005 at 12:16 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-24-2005 at 02:39 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by Kruxx on 03-24-2005 at 07:59 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-26-2005 at 12:11 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by M73A on 03-26-2005 at 12:31 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by Kruxx on 03-26-2005 at 09:59 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-26-2005 at 01:19 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by Kruxx on 03-26-2005 at 02:17 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-26-2005 at 02:54 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by Kruxx on 03-26-2005 at 03:48 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by (CyBeRDuDe) on 03-27-2005 at 11:53 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by Kruxx on 03-27-2005 at 03:14 PM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by rompom7 on 03-28-2005 at 10:09 AM
RE: Counter in Nickname Released New Version 1.0.9 (22nd of March) - by azur on 03-29-2005 at 02:22 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-07-2005 at 07:41 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by BEWARE^^ on 04-07-2005 at 07:57 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Chestah on 04-07-2005 at 08:29 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by BEWARE^^ on 04-07-2005 at 10:45 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-07-2005 at 11:02 AM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by BEWARE^^ on 04-07-2005 at 11:11 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by azur on 04-07-2005 at 11:42 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by watchout on 04-07-2005 at 03:09 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-07-2005 at 06:02 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by M73A on 04-07-2005 at 07:30 PM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by BEWARE^^ on 04-07-2005 at 07:50 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-07-2005 at 07:35 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by CookieRevised on 04-07-2005 at 08:05 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by M73A on 04-07-2005 at 08:07 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Barisko on 04-07-2005 at 10:02 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Xerxis on 04-08-2005 at 09:43 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-08-2005 at 02:58 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by J.J on 04-08-2005 at 03:25 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Xerxis on 04-08-2005 at 03:47 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-08-2005 at 03:59 PM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by CookieRevised on 04-08-2005 at 07:05 PM
RE: RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-08-2005 at 10:23 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Xerxis on 04-08-2005 at 05:51 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by J.J on 04-09-2005 at 09:47 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by inquiringmind on 04-10-2005 at 08:10 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 04-10-2005 at 08:38 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by J.J on 04-10-2005 at 08:53 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Matafluer on 04-18-2005 at 04:20 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Weyzza on 05-05-2005 at 06:08 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 05-05-2005 at 09:12 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Weyzza on 05-06-2005 at 02:55 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 05-07-2005 at 12:16 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by user13774 on 05-10-2005 at 06:44 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 05-10-2005 at 08:05 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by user13774 on 05-11-2005 at 09:41 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Rik on 05-11-2005 at 02:20 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 05-11-2005 at 02:28 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by CookieRevised on 05-20-2005 at 01:36 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 05-20-2005 at 01:37 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by CookieRevised on 05-20-2005 at 05:43 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 05-20-2005 at 07:48 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by riahc4 on 05-21-2005 at 11:43 AM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Rik on 05-21-2005 at 12:55 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by watchout on 05-23-2005 at 06:07 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by riahc4 on 05-23-2005 at 06:51 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by riahc4 on 06-04-2005 at 11:50 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Metall [PT] on 06-04-2005 at 06:51 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 06-04-2005 at 08:01 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by absorbation on 06-04-2005 at 08:04 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Metall [PT] on 06-04-2005 at 08:20 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 06-04-2005 at 11:39 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by riahc4 on 06-05-2005 at 08:39 AM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Metall [PT] on 06-05-2005 at 02:52 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Curtis on 06-06-2005 at 03:48 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 06-06-2005 at 01:30 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by riahc4 on 06-09-2005 at 09:13 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 06-09-2005 at 09:57 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by riahc4 on 06-21-2005 at 06:55 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Ezra on 07-01-2005 at 04:03 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 07-01-2005 at 10:22 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Ezra on 07-02-2005 at 02:28 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 11-09-2005 at 08:39 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Ben on 11-11-2005 at 06:54 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Jamibu on 12-23-2005 at 01:29 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 12-23-2005 at 01:29 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Jamibu on 12-23-2005 at 06:25 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by XxDeMoNxX on 12-23-2005 at 07:00 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 12-24-2005 at 12:01 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Jamibu on 12-24-2005 at 09:27 AM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by NiteMare on 12-28-2005 at 03:12 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 12-28-2005 at 08:47 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Jamibu on 12-29-2005 at 08:44 AM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by CookieRevised on 12-29-2005 at 07:50 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by onetouchspark on 01-01-2006 at 07:21 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by (CyBeRDuDe) on 01-01-2006 at 10:28 PM
RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Lfm on 06-03-2006 at 06:46 PM
RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by CookieRevised on 06-03-2006 at 09:52 PM
RE: RE: RE: Counter in Nickname Released New Version 1.0.15 (7th of April) - by Lfm on 06-04-2006 at 12:27 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