Tony Whyman wrote:
I must say that I'm amazed at how long this thread is - but then I
shouldn't be.
Many moons ago, I used to work at the long gone British Mainframe
Computer company ICL. Here, there was a well used term "a bicycle sheds
argument". This supposedly came from the sales force re
I must say that I'm amazed at how long this thread is - but then I
shouldn't be.
Many moons ago, I used to work at the long gone British Mainframe
Computer company ICL. Here, there was a well used term "a bicycle sheds
argument". This supposedly came from the sales force retelling how the
boa
Gordon Cooper wrote:
I once worked in the international section of the New Zealand
Meteorological
Servce, which used Greenwich Time (UTC). So, each day started at noon,
12 hours behind local time. Plenty of scope for confusion there.
But was conveniently in line with the astronomical conven
On 05/27/2015 05:05 AM, Mark Morgan Lloyd wrote:
Gordon Cooper wrote:
We were taught that 24.00 did not exist. Time went from 23.59
to 00.00. The same rule can be applied to 11.59 am & pm.
Except where there's a leap second.
speaking of which, guess what is coming up...
[quote]
Date: Mon,
I once worked in the international section of the New Zealand Meteorological
Servce, which used Greenwich Time (UTC). So, each day started at noon,
12 hours behind local time. Plenty of scope for confusion there.
Fortunately this was several decades before computers appeared.
Gordon.
On 29/0
On Do, 2015-05-28 at 17:57 +0200, Jürgen Hestermann wrote:
> Am 2015-05-28 um 17:14 schrieb waldo kitty:
> > i don't know why it isn't confident... am is morning so 12am is the very
> > first entry into morning as 12pm is the very first entry into afternoon...
> > i don't understand the confusion
Jürgen Hestermann wrote:
Am 2015-05-28 um 17:14 schrieb waldo kitty:
i don't know why it isn't confident... am is morning so 12am is the
very first entry into morning as 12pm is the very first entry into
afternoon...
i don't understand the confusion or the problem...
So the day starts with
On 28/05/15 18:57, Jürgen Hestermann wrote:
Am 2015-05-28 um 17:14 schrieb waldo kitty:
i don't know why it isn't confident... am is morning so 12am is the
very first entry into morning as 12pm is the very first entry into
afternoon...
i don't understand the confusion or the problem...
So
On 05/28/2015 11:57 AM, Jürgen Hestermann wrote:
Am 2015-05-28 um 17:14 schrieb waldo kitty:
i don't know why it isn't confident... am is morning so 12am is the very first
entry into morning as 12pm is the very first entry into afternoon...
i don't understand the confusion or the problem...
Am 2015-05-28 um 17:14 schrieb waldo kitty:
i don't know why it isn't confident... am is morning so 12am is the very first
entry into morning as 12pm is the very first entry into afternoon...
i don't understand the confusion or the problem...
So the day starts with 12 at midnight and then sw
On 28/05/15 16:14, waldo kitty wrote:
> On 05/28/2015 05:18 AM, Michael Schnell wrote:
>> On 05/27/2015 08:48 PM, waldo kitty wrote:
>>>
>>> yes... 12:00am is midnight... 00:00am is the same... so also is
>>> 00:00 or 24:00 in 24hour time...
Day runs from 00:00:00 to 23:59:59 (or ::60) in 24h for
On 05/28/2015 05:18 AM, Michael Schnell wrote:
On 05/27/2015 08:48 PM, waldo kitty wrote:
yes... 12:00am is midnight... 00:00am is the same... so also is 00:00 or 24:00
in 24hour time...
AFAIK it's rather set that 24:00 is 00:00 the next day, but 12:00 am is "not
100% confident" as Mark says.
Il 28/05/2015 11:18, Michael Schnell ha scritto:
On 05/27/2015 08:48 PM, waldo kitty wrote:
yes... 12:00am is midnight... 00:00am is the same... so also is 00:00
or 24:00 in 24hour time...
AFAIK it's rather set that 24:00 is 00:00 the next day, but 12:00 am
is "not 100% confident" as Mark s
On 05/27/2015 08:48 PM, waldo kitty wrote:
yes... 12:00am is midnight... 00:00am is the same... so also is 00:00
or 24:00 in 24hour time...
AFAIK it's rather set that 24:00 is 00:00 the next day, but 12:00 am is
"not 100% confident" as Mark says.
-Michael
--
__
On 05/27/2015 03:19 AM, Michael Van Canneyt wrote:
Does 12:00 am actually exist ? If so, what is that ? Midnight or midday ?
Should not that be 00:00 am ? (or is that the same ?)
yes... 12:00am is midnight... 00:00am is the same... so also is 00:00 or 24:00
in 24hour time...
--
NOTE: No of
May be using Julian day is better. Or intermediate conversion to it.
http://en.wikipedia.org/wiki/Julian_day
Regards,
Kamen
Оригинално писмо
От: Michael Schnell
Относно: Re: [Lazarus] Date value 0
До: Lazarus mailing list
Изпратено на: Сряда, 2015, Май 27 11:17
nd 31.12..
If you change date to 29.12.-1900: EConvertError: not a valid date format. How
can I use date before year?
Regards,
Kamen
Оригинално писмо
От: Michael Schnell
Относно: Re: [Lazarus] Date value 0
До: lazarus@lists.lazarus.freepascal.org
Изпратено на: Сряда, 2015, Май 27 1
Juha Manninen wrote:
Amazing! Nobody actually looked at the Mantis report nor the patch I
referred to, but still answered the mail.
The question is about LastUsed date of a Lazarus package link, shown
in one of the IDE's dialog windows.
Value "0" is wrong in this context because nobody created La
Michael Schnell wrote:
On 05/27/2015 11:05 AM, Mark Morgan Lloyd wrote:
No it can't. You have to be prepared to parse 12:00 a.m. by context
but it's usually midnight.
Of which day the one that also has 0:pm or of the previous ?
Wp "12-hour clock" shows 11:59 p.m. followed by 12:00 a.m.,
On 05/27/2015 11:05 AM, Mark Morgan Lloyd wrote:
No it can't. You have to be prepared to parse 12:00 a.m. by context
but it's usually midnight.
Of which day the one that also has 0:pm or of the previous ?
-Michael
--
___
Lazarus mailing list
Laz
On 2015-05-27 09:17, Michael Schnell wrote:
> To me (being born 12/31) it's funny that that the base is not a 1/1,
> especially 1/1/0001. But of course this is completely irrelevant.
TDateTime's value of 0 being 1899-12-30 is something Borland adopted
from Microsoft to be compatible with Microsof
Gordon Cooper wrote:
We were taught that 24.00 did not exist. Time went from 23.59
to 00.00. The same rule can be applied to 11.59 am & pm.
Except where there's a leap second.
> The same rule can be applied to 11.59 am & pm.
No it can't. You have to be prepared to parse 12:00 a.m. by context
On 2015-05-27 08:19, Michael Van Canneyt wrote:
> Does 12:00 am actually exist ? If so, what is that ? Midnight or midday ?
Hence I stick to 24 hour time. ;-)
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
--
__
For me it works as expcted
var t: TDateTime;
i: integer;
s1, s2, s3, s4 : String;
begin
t := StrToDate('30-12-1899');
i := round (t);
s1 := DateTimeToStr(t);
s2 := IntToStr(i);
t := StrToDate('29-12-1899');
i := round (t);
s3 := DateTimeToStr(t);
s4 := IntToStr(i);
Memo1.Lines.Add (s1 +
rds,
Kamen
Оригинално писмо
От: Michael Van Canneyt
Относно: Re: [Lazarus] Date value 0
До: Lazarus mailing list
Изпратено на: Сряда, 2015, Май 27 10:55:23 EEST
On Wed, 27 May 2015, Kamen Ketev wrote:
>
> How can I use
TDateTime for date before
"12/30/1899 12:
On 05/27/2015 12:59 AM, Sven Barth wrote:
Why should that be funny? TDateTime(0.0) is defined as "12/30/1899
12:00 am". Now add two days and we are at "1/1/1900 12:00 am", so all
is well...
To me (being born 12/31) it's funny that that the base is not a 1/1,
especially 1/1/0001. But of cour
We were taught that 24.00 did not exist. Time went from 23.59
to 00.00. The same rule can be applied to 11.59 am & pm.
Gordon.
On 27/05/15 19:57, Mattias Gaertner wrote:
On Wed, 27 May 2015 09:19:42 +0200 (CEST)
Michael Van Canneyt wrote:
[...]
Does 12:00 am actually exist ? If so, what is
On Wed, 27 May 2015 09:19:42 +0200 (CEST)
Michael Van Canneyt wrote:
>[...]
> Does 12:00 am actually exist ? If so, what is that ? Midnight or midday ?
> Should not that be 00:00 am ? (or is that the same ?)
You are not alone with such questions:
https://en.wikipedia.org/wiki/12-hour_clock#Confu
On Wed, 27 May 2015, Kamen Ketev wrote:
How can I use TDateTime for date before "12/30/1899 12:00 am". I need it for
astronomical calculations. Is it possible to be add flag or something else to ignore this
border?
You can use TDateTime for this, there is no problem with values < 0.
M
How can I use
TDateTime for date before
"12/30/1899 12:00 am". I need it for astronomical calculations. Is it
possible to be add flag or something else to ignore this border?
Regards,
Kamen --
___
Lazarus mailing list
Lazarus@lists.lazar
Am 27.05.2015 09:19 schrieb "Michael Van Canneyt" :
>
>
>
> On Wed, 27 May 2015, Sven Barth wrote:
>
>>
>> Am 26.05.2015 15:28 schrieb "Michael Schnell" :
>> >
>> > On 05/26/2015 01:30 PM, Juha Manninen wrote:
>> >>
>> >> Is there some convention how to show a date value "0"?
>> >> By default it sh
On Wed, 27 May 2015, Sven Barth wrote:
Am 26.05.2015 15:28 schrieb "Michael Schnell" :
>
> On 05/26/2015 01:30 PM, Juha Manninen wrote:
>>
>> Is there some convention how to show a date value "0"?
>> By default it shows year 1899. The patch changed it to "?".
>>
>
> Both funny, as DateTimeToS
Am 26.05.2015 15:28 schrieb "Michael Schnell" :
>
> On 05/26/2015 01:30 PM, Juha Manninen wrote:
>>
>> Is there some convention how to show a date value "0"?
>> By default it shows year 1899. The patch changed it to "?".
>>
>
> Both funny, as DateTimeToStr(2.0) is "1-1-00" ;-)
Why should that be f
I changed it to "Never" as suggested by wp. It is a good word in this context.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Amazing! Nobody actually looked at the Mantis report nor the patch I
referred to, but still answered the mail.
The question is about LastUsed date of a Lazarus package link, shown
in one of the IDE's dialog windows.
Value "0" is wrong in this context because nobody created Lazarus
packages nor link
On 05/26/2015 03:30 PM, Mark Morgan Lloyd wrote:
If it were something like Anno Domini 0, which quite simply never
existed, then it could be displayed as invalid.
It's funny, but AFAIK, you are right. By definition, before Year 1 there
was Year -1 and not Year 0.
Why TDateTime seemingly u
Giuliano Colla wrote:
Il 26/05/2015 13:30, Juha Manninen ha scritto:
Regarding issue
http://bugs.freepascal.org/view.php?id=27735
Is there some convention how to show a date value "0"?
By default it shows year 1899. The patch changed it to "?".
Delphi for value 0 shows 12/30/1899 12:00 a
On 05/26/2015 01:30 PM, Juha Manninen wrote:
Is there some convention how to show a date value "0"?
By default it shows year 1899. The patch changed it to "?".
Both funny, as DateTimeToStr(2.0) is "1-1-00" ;-)
-Michael
--
___
Lazarus mailing list
L
Il 26/05/2015 13:30, Juha Manninen ha scritto:
Regarding issue
http://bugs.freepascal.org/view.php?id=27735
Is there some convention how to show a date value "0"?
By default it shows year 1899. The patch changed it to "?".
Delphi for value 0 shows 12/30/1899 12:00 am:
http://docs.embarc
Regarding issue
http://bugs.freepascal.org/view.php?id=27735
Is there some convention how to show a date value "0"?
By default it shows year 1899. The patch changed it to "?".
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http
40 matches
Mail list logo