Alaska Software Inc. - Date() and Time()
Username: Password:
AuthorTopic: Date() and Time()
Carlos Beling Date() and Time()
on Fri, 06 Jun 2008 19:21:28 -0300
Hi:
good night.

The attached program runs fine under Windows 98 Se, detecting changes diferent de +1 
second made in the clock. I do it in the Task Bar of the Desktop.
Can one tell me why it does not work in Windows XP?

. I compile it using Clipper x -a-m-n-q-q-b
. I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off

Beling
Best regards


X.zip
AUGE_OHRRe: Date() and Time()
on Sat, 07 Jun 2008 01:28:01 +0200
hi,

Code runs fine ... did we need a "spezial" time e.g. 23:59 ?

greetings by OHR
Jimmy


"Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag 
news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
> Hi:
> good night.
>
> The attached program runs fine under Windows 98 Se, detecting changes 
> diferent de +1
> second made in the clock. I do it in the Task Bar of the Desktop.
> Can one tell me why it does not work in Windows XP?
>
> . I compile it using Clipper x -a-m-n-q-q-b
> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>
> Beling
> Best regards
>
Carlos Beling Re: Date() and Time()
on Mon, 09 Jun 2008 15:37:16 -0300
Hi Jimmy:
good afternoon.
Many thanks.
The changes made in the clock using the task bar was not detected by the program under my 
installation of XP.

Beling
Best regards

AUGE_OHR escreveu:
> hi,
> 
> Code runs fine ... did we need a "spezial" time e.g. 23:59 ?
> 
> greetings by OHR
> Jimmy
> 
> 
> "Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag 
> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>> Hi:
>> good night.
>>
>> The attached program runs fine under Windows 98 Se, detecting changes 
>> diferent de +1
>> second made in the clock. I do it in the Task Bar of the Desktop.
>> Can one tell me why it does not work in Windows XP?
>>
>> . I compile it using Clipper x -a-m-n-q-q-b
>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>
>> Beling
>> Best regards
>>
> 
>
James Loughner Re: Date() and Time()
on Mon, 09 Jun 2008 15:19:06 -0400
Seems to work here just fine.

Jim

Carlos Beling wrote:
> Hi Jimmy:
> good afternoon.
> Many thanks.
> The changes made in the clock using the task bar was not detected by the
> program under my installation of XP.
> 
> Beling
> Best regards
> 
> AUGE_OHR escreveu:
>> hi,
>>
>> Code runs fine ... did we need a "spezial" time e.g. 23:59 ?
>>
>> greetings by OHR
>> Jimmy
>>
>>
>> "Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag
>> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>>> Hi:
>>> good night.
>>>
>>> The attached program runs fine under Windows 98 Se, detecting changes
>>> diferent de +1
>>> second made in the clock. I do it in the Task Bar of the Desktop.
>>> Can one tell me why it does not work in Windows XP?
>>>
>>> . I compile it using Clipper x -a-m-n-q-q-b
>>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>>
>>> Beling
>>> Best regards
>>>
>>
>>
Carlos Beling Re: Date() and Time()
on Mon, 09 Jun 2008 16:39:59 -0300
Hi JimmY;
good afternoon.
Many thanks. I'll see if it has some problem that I did not find.

Beling
Best regards

James Loughner escreveu:
> Seems to work here just fine.
> 
> Jim
> 
> Carlos Beling wrote:
>> Hi Jimmy:
>> good afternoon.
>> Many thanks.
>> The changes made in the clock using the task bar was not detected by the
>> program under my installation of XP.
>>
>> Beling
>> Best regards
>>
>> AUGE_OHR escreveu:
>>> hi,
>>>
>>> Code runs fine ... did we need a "spezial" time e.g. 23:59 ?
>>>
>>> greetings by OHR
>>> Jimmy
>>>
>>>
>>> "Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag
>>> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>>>> Hi:
>>>> good night.
>>>>
>>>> The attached program runs fine under Windows 98 Se, detecting changes
>>>> diferent de +1
>>>> second made in the clock. I do it in the Task Bar of the Desktop.
>>>> Can one tell me why it does not work in Windows XP?
>>>>
>>>> . I compile it using Clipper x -a-m-n-q-q-b
>>>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>>>
>>>> Beling
>>>> Best regards
>>>>
>>>
Carlos Beling Re: Date() and Time()
on Tue, 10 Jun 2008 10:31:52 -0300
Hi Jimmy:
good morning.
Please see time in the left bottom corner of the pictures attached and the time the 
program is shown.
. the FirsTime.jpg shows the time the program started to run
. the SecTime.jpg shows the time after I changed the clock
The clock after changed was not passed to the program.

Beling
Best regards


James Loughner escreveu:
> Seems to work here just fine.
> 
> Jim
> 
> Carlos Beling wrote:
>> Hi Jimmy:
>> good afternoon.
>> Many thanks.
>> The changes made in the clock using the task bar was not detected by the
>> program under my installation of XP.
>>
>> Beling
>> Best regards
>>
>> AUGE_OHR escreveu:
>>> hi,
>>>
>>> Code runs fine ... did we need a "spezial" time e.g. 23:59 ?
>>>
>>> greetings by OHR
>>> Jimmy
>>>
>>>
>>> "Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag
>>> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>>>> Hi:
>>>> good night.
>>>>
>>>> The attached program runs fine under Windows 98 Se, detecting changes
>>>> diferent de +1
>>>> second made in the clock. I do it in the Task Bar of the Desktop.
>>>> Can one tell me why it does not work in Windows XP?
>>>>
>>>> . I compile it using Clipper x -a-m-n-q-q-b
>>>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>>>
>>>> Beling
>>>> Best regards
>>>>
>>>


Firstime.jpg
SecTime.jpg
James Loughner Re: Date() and Time()
on Tue, 10 Jun 2008 13:00:32 -0400
I have an app that shows the time on an analog clock It refreshes the
hour hand position to the current time every minute. When I changed the
system time the clock changed the hour as it should. It is a GUI app so
maybe what you are seeing is a command line problem ie the command shell
is not updating. In the GUI it is updating.

Jim

Carlos Beling wrote:
> Hi Jimmy:
> good morning.
> Please see time in the left bottom corner of the pictures attached and
> the time the program is shown.
> . the FirsTime.jpg shows the time the program started to run
> . the SecTime.jpg shows the time after I changed the clock
> The clock after changed was not passed to the program.
> 
> Beling
> Best regards
> 
> 
> James Loughner escreveu:
>> Seems to work here just fine.
>>
>> Jim
>>
>> Carlos Beling wrote:
>>> Hi Jimmy:
>>> good afternoon.
>>> Many thanks.
>>> The changes made in the clock using the task bar was not detected by the
>>> program under my installation of XP.
>>>
>>> Beling
>>> Best regards
>>>
>>> AUGE_OHR escreveu:
>>>> hi,
>>>>
>>>> Code runs fine ... did we need a "spezial" time e.g. 23:59 ?
>>>>
>>>> greetings by OHR
>>>> Jimmy
>>>>
>>>>
>>>> "Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag
>>>> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>>>>> Hi:
>>>>> good night.
>>>>>
>>>>> The attached program runs fine under Windows 98 Se, detecting changes
>>>>> diferent de +1
>>>>> second made in the clock. I do it in the Task Bar of the Desktop.
>>>>> Can one tell me why it does not work in Windows XP?
>>>>>
>>>>> . I compile it using Clipper x -a-m-n-q-q-b
>>>>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>>>>
>>>>> Beling
>>>>> Best regards
>>>>>
>>>>
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
>
Carlos Beling Re: Date() and Time()
on Tue, 10 Jun 2008 16:31:16 -0300
Hi Jimmy:
good afternoon.
Many thanks.
I think you are right. Unfortunately the program must runs in Clipper for more a little 
bit time.
Best put the program at least in a CRT window.

Beling
Best regards




James Loughner escreveu:
> I have an app that shows the time on an analog clock It refreshes the
> hour hand position to the current time every minute. When I changed the
> system time the clock changed the hour as it should. It is a GUI app so
> maybe what you are seeing is a command line problem ie the command shell
> is not updating. In the GUI it is updating.
> 
> Jim
> 
> Carlos Beling wrote:
>> Hi Jimmy:
>> good morning.
>> Please see time in the left bottom corner of the pictures attached and
>> the time the program is shown.
>> . the FirsTime.jpg shows the time the program started to run
>> . the SecTime.jpg shows the time after I changed the clock
>> The clock after changed was not passed to the program.
>>
>> Beling
>> Best regards
>>
>>
>> James Loughner escreveu:
>>> Seems to work here just fine.
>>>
>>> Jim
>>>
>>> Carlos Beling wrote:
>>>> Hi Jimmy:
>>>> good afternoon.
>>>> Many thanks.
>>>> The changes made in the clock using the task bar was not detected by the
>>>> program under my installation of XP.
>>>>
>>>> Beling
>>>> Best regards
>>>>
>>>> AUGE_OHR escreveu:
>>>>> hi,
>>>>>
>>>>> Code runs fine ... did we need a "spezial" time e.g. 23:59 ?
>>>>>
>>>>> greetings by OHR
>>>>> Jimmy
>>>>>
>>>>>
>>>>> "Carlos Beling" <beling@itevip.com.br> schrieb im Newsbeitrag
>>>>> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>>>>>> Hi:
>>>>>> good night.
>>>>>>
>>>>>> The attached program runs fine under Windows 98 Se, detecting changes
>>>>>> diferent de +1
>>>>>> second made in the clock. I do it in the Task Bar of the Desktop.
>>>>>> Can one tell me why it does not work in Windows XP?
>>>>>>
>>>>>> . I compile it using Clipper x -a-m-n-q-q-b
>>>>>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>>>>>
>>>>>> Beling
>>>>>> Best regards
>>>>>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
Andreas Gehrs-Pahl
Re: Date() and Time()
on Fri, 13 Jun 2008 09:24:01 -0400
Carlos,

>The changes made in the clock using the task bar was not detected by 
>the program under my installation of XP.

I don't think that is actually the case -- Xbase++ and Clipper behave 
identical in all cases, and detect any Date/Time changes that are made!

Your problem lies with the OS, though. In Windows 9x, the System Date 
(but not the System Time) is changed immediately if you change it in 
the Clock (from the TaskBar), which I think is BAD, while in Windows XP 
(and presumably other version of Windows) the System Date is only 
changed after you actually press either the [OK] or [Apply] button. 

This is much more sensible, as selecting another Month or Year -- just 
to see the calendar for that month -- is actually changing the return 
value of the Date() function of any (Clipper and Xbase++) programs 
running under Windows 9X -- which could have terrible side effects in 
my opinion!

Interestingly, the System Time is always only updated after the [OK] or 
[Apply] button has been pressed, no matter what OS you are using!

So, why would you want the Windows 98 behavior in the first place?

-- Andreas

---                                                                      ---
  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
  415 Gute Street                     or: Andreas@DDPSoftware.com
  Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
---                                                                      ---
Carlos Beling Re: Date() and Time()
on Fri, 13 Jun 2008 16:08:58 -0300
Hi Andreas:
good afternoon.
Many thanks.
The problem is that XP seems do not update concurrently time and date.
I attached the code and the executable of the X.prg for showing you what is happening:
. during the day there is not problem in running the program
. when the time back to 00:00:00 because the date changed the time changes and the date no
For testing, please change the clock of your computer to 23:58:00 and execute the X.exe.
When the day changes the program stops and you can see in the screen the real date() and 
time().
Please see below.

Beling
Best regards

Andreas Gehrs-Pahl escreveu:
> Carlos,
> 
> So, why would you want the Windows 98 behavior in the first place?
> 
> -- Andreas
> 
> ---                                                                      ---
>   Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
>   415 Gute Street                     or: Andreas@DDPSoftware.com
>   Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
>   Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
> ---                                                                      ---
Carlos Beling Re: Date() and Time() - ooops the attach
on Fri, 13 Jun 2008 16:25:57 -0300
Carlos Beling escreveu:
> Hi Andreas:
> good afternoon.
> Many thanks.
> The problem is that XP seems do not update concurrently time and date.
> I attached the code and the executable of the X.prg for showing you what 
> is happening:
> . during the day there is not problem in running the program
> . when the time back to 00:00:00 because the date changed the time 
> changes and the date no
> For testing, please change the clock of your computer to 23:58:00 and 
> execute the X.exe.
> When the day changes the program stops and you can see in the screen the 
> real date() and time().
> Please see below.
> 
> Beling
> Best regards
> 
> Andreas Gehrs-Pahl escreveu:
>> Carlos,
>>
>> So, why would you want the Windows 98 behavior in the first place?
>>
>> -- Andreas
>>
>> ---                                                                      
>> ---
>>   Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
>>   415 Gute Street                     or: Andreas@DDPSoftware.com
>>   Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
>>   Tel: (989) 723-9927           Web Site: 
>> http://www.Aerospace-History.net
>> ---                                                                      
>> ---


X.zip
Andreas Gehrs-Pahl
Re: Date() and Time() - ooops the attach
on Sat, 14 Jun 2008 00:12:45 -0400
Carlos,

>For testing, please change the clock of your computer to 23:58:00 and 
>execute the X.exe.

I don't like to run "unknown" exe's, so I compiled your x.prg (which was 
the same as before), and ran it on Win98SE and WinXP(SP3).

>When the day changes the program stops and you can see in the screen the 
>real date() and time().

I didn't quite understand what the problem was: the program shouldn't 
stop when the date changes! I made some minor changes to your program, 
and now it runs fine on Win98SE and WinXP(SP3) -- either as a Clipper or
as an Xbase++ program. 

As a side note, on Windows XP, you should avoid "wait" and similar things,
as it will lead to 100% CPU utilization (on single processor systems) and
might prevent other programs to function correct. I have made changes to
the code for this purpose, too.

I suppose the problem is that Clipper might have done some (in this case 
not so optimal) code optimization, which resulted in the return value of 
the Date() function being changed before the return value of the Time() 
function changed.

I have attached my "x2.prg", which seems to work under all circumstances
on my computers here. Hope that helps,

-- Andreas

---                                                                      ---
  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
  415 Gute Street                     or: Andreas@DDPSoftware.com
  Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
---                                                                      ---


x2.zip
Carlos Beling Re: Date() and Time() - ooops the attach
on Mon, 16 Jun 2008 18:42:38 -0300
Hi Andreas:
good night.
Many thanks.
Unfortunately the program did not work in the windows XP (please see the attach stoped.jpg).
I think that I solved the problem with the programs attached as NewX.zip, where it has 3 
files:
. PcCtrl.prg (must be compiled using Clipper -a-m-n-q-w) and linked using the DbfCdx.lib. 
  When started it updates one dbf (0012.dbf) with one empty date and runs the program 
PcTimer.exe (a Xbase++ program), waits until it loads and opens the dbf shared.
When it finishes it updates the dbf with a date CtoD('31.12.2100')
. PcTime.prg (must be compiled with Pbuild). When started it opens the dbf (0012.dbf) and 
starts updating the date() and time() for be used by the program PcCtrl. When it reads in 
the DBF the date CtoD('31.12.2100') it stops to run. Can you tell me why it does not stop?

Beling
Best regards


It has a DBF that holds the date() and time() that is read


Andreas Gehrs-Pahl escreveu:
> Carlos,
> 
>> For testing, please change the clock of your computer to 23:58:00 and 
>> execute the X.exe.
> 
> I don't like to run "unknown" exe's, so I compiled your x.prg (which was 
> the same as before), and ran it on Win98SE and WinXP(SP3).
> 
>> When the day changes the program stops and you can see in the screen the 
>> real date() and time().
> 
> I didn't quite understand what the problem was: the program shouldn't 
> stop when the date changes! I made some minor changes to your program, 
> and now it runs fine on Win98SE and WinXP(SP3) -- either as a Clipper or
> as an Xbase++ program. 
> 
> As a side note, on Windows XP, you should avoid "wait" and similar things,
> as it will lead to 100% CPU utilization (on single processor systems) and
> might prevent other programs to function correct. I have made changes to
> the code for this purpose, too.
> 
> I suppose the problem is that Clipper might have done some (in this case 
> not so optimal) code optimization, which resulted in the return value of 
> the Date() function being changed before the return value of the Time() 
> function changed.
> 
> I have attached my "x2.prg", which seems to work under all circumstances
> on my computers here. Hope that helps,
> 
> -- Andreas
> 
> ---                                                                      ---
>   Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
>   415 Gute Street                     or: Andreas@DDPSoftware.com
>   Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
>   Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
> ---                                                                      ---


Stoped.jpg
Newx.zip
Hannes ZieglerRe: Date() and Time()
on Sat, 07 Jun 2008 03:18:13 +0200
Carlos,

> The attached program runs fine under Windows 98 Se, detecting changes 
> diferent de +1
> second made in the clock. I do it in the Task Bar of the Desktop.
> Can one tell me why it does not work in Windows XP?
>
> . I compile it using Clipper x -a-m-n-q-q-b
> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off

The program runs fine here (Xbase++, not Clipper. Windows XP).

Since you raised Date and Time issues, I'd like to inform you of the 
DateTime() class included in The YUKON Project. The DateTime() class has 
evolved over several years of dealing with Date and Time issues, and it is 
complete now.

I do any date/time arithmetics with this class, and pass it to API functions 
when necessary in form of a FILETIME or a SYSTEMTIME structure.

Here is a code snippet using a DateTime() object:

<!-- BEGIN CODE --->
#include "YukonSTC.ch"

PROCEDURE Main
   LOCAL oDT := DateTime():new()

   ? oDt:toString()     20080607025210671

   ? oDt:date           06/07/2008
   ? oDt:time           02:52:10.671
   ? oDT:hour           2
   ? oDT:milliSeconds   671

   oDt:day    += 10
   oDt:hour   += 54
   oDt:minute += 12

   ? oDt:date           06/19/2008
   ? oDt:time           09:04:10.671
RETURN
<!-- END CODE --->

This code adds 10 days, 54 hours and 12 minutes to the DateTime() object. 
The object responds with the resulting date and time.

If date/time arithmetics are an issue for you, you are invited to test the 
DateTime() class with the demo version of The YUKON Project. The Yukon Demo 
is available for free download from here:

http://www.knowlexbase.com/en/software/yukon/demo/Yukon_Project_Demo_Setup.zip

Regards,
--
Hannes
Carlos Beling Re: Date() and Time()
on Mon, 09 Jun 2008 15:32:21 -0300
Hi Hannes:
good afternoon.
Many thanks.
The problem is that when I made changes in the clock the OS (using Clipper) seems do not 
pass the changes to the program.
As soon as possible I'll look at YUKON project that seems to be a very nice job.

Beling
[]s

Hannes Ziegler escreveu:
> Carlos,
> 
>> The attached program runs fine under Windows 98 Se, detecting changes 
>> diferent de +1
>> second made in the clock. I do it in the Task Bar of the Desktop.
>> Can one tell me why it does not work in Windows XP?
>>
>> . I compile it using Clipper x -a-m-n-q-q-b
>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
> 
> The program runs fine here (Xbase++, not Clipper. Windows XP).
> 
> Since you raised Date and Time issues, I'd like to inform you of the 
> DateTime() class included in The YUKON Project. The DateTime() class has 
> evolved over several years of dealing with Date and Time issues, and it 
> is complete now.
> 
> I do any date/time arithmetics with this class, and pass it to API 
> functions when necessary in form of a FILETIME or a SYSTEMTIME structure.
> 
> Here is a code snippet using a DateTime() object:
> 
> <!-- BEGIN CODE --->
> #include "YukonSTC.ch"
> 
> PROCEDURE Main
>   LOCAL oDT := DateTime():new()
> 
>   ? oDt:toString()     20080607025210671
> 
>   ? oDt:date           06/07/2008
>   ? oDt:time           02:52:10.671
>   ? oDT:hour           2
>   ? oDT:milliSeconds   671
> 
>   oDt:day    += 10
>   oDt:hour   += 54
>   oDt:minute += 12
> 
>   ? oDt:date           06/19/2008
>   ? oDt:time           09:04:10.671
> RETURN
> <!-- END CODE --->
> 
> This code adds 10 days, 54 hours and 12 minutes to the DateTime() 
> object. The object responds with the resulting date and time.
> 
> If date/time arithmetics are an issue for you, you are invited to test 
> the DateTime() class with the demo version of The YUKON Project. The 
> Yukon Demo is available for free download from here:
> 
> http://www.knowlexbase.com/en/software/yukon/demo/Yukon_Project_Demo_Setup.zip 
> 
> 
> Regards,
> -- 
> Hannes
JorgeRe: Date() and Time()
on Sun, 15 Jun 2008 10:55:05 -0300
Hello
in windows 95, 98 the clock refresh and work with the int 21h of DOS ( serv. 
2ah y 2bh )
is for this, when you change the clock, refresh all programs inmediatly

in xp do not be since like the clock work, it is because of it that you do 
not have solution to your case
while work in DOS

regards


"Carlos Beling" <beling@itevip.com.br> escribi en el mensaje 
news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
> Hi:
> good night.
>
> The attached program runs fine under Windows 98 Se, detecting changes 
> diferent de +1
> second made in the clock. I do it in the Task Bar of the Desktop.
> Can one tell me why it does not work in Windows XP?
>
> . I compile it using Clipper x -a-m-n-q-q-b
> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>
> Beling
> Best regards
>
Carlos Beling Re: Date() and Time()
on Mon, 16 Jun 2008 18:44:22 -0300
Hi Jorge:
good night.
Many thanks.
Please see my post to Andreas.

Beling
Best regards

Jorge escreveu:
> Hello
> in windows 95, 98 the clock refresh and work with the int 21h of DOS ( serv. 
> 2ah y 2bh )
> is for this, when you change the clock, refresh all programs inmediatly
> 
> in xp do not be since like the clock work, it is because of it that you do 
> not have solution to your case
> while work in DOS
> 
> regards
> 
> 
> "Carlos Beling" <beling@itevip.com.br> escribió en el mensaje 
> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>> Hi:
>> good night.
>>
>> The attached program runs fine under Windows 98 Se, detecting changes 
>> diferent de +1
>> second made in the clock. I do it in the Task Bar of the Desktop.
>> Can one tell me why it does not work in Windows XP?
>>
>> . I compile it using Clipper x -a-m-n-q-q-b
>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>
>> Beling
>> Best regards
>>
> 
>
Carlos Beling Re: Date() and Time()
on Tue, 17 Jun 2008 11:41:23 -0300
Hi Jorge:
good morning.
I posted two e-mails to you and they came back to me. Please see below:

======== message:
The original message was received at Tue, 17 Jun 2008 11:07:43 -0300
from columbia.ite.net.br [200.142.224.15]

    ----- The following addresses had permanent fatal errors -----
<jlborlando@way.com.ar>
     (reason: 550-Su correo es considerado SPAM  - Mensaje rechazado porque su host)

    ----- Transcript of session follows -----
... while talking to mail.way.com.ar.:
 >>> >>> DATA
<<< 550-Su correo es considerado SPAM  - Mensaje rechazado porque su host
<<< 550 200.142.224.5 esta listado en: dynablock.wirehub.net
550 5.1.1 <jlborlando@way.com.ar>... User unknown
<<< 503 valid RCPT command must precede DATA
============ end of the message

Jorge escreveu:
> Hello
> in windows 95, 98 the clock refresh and work with the int 21h of DOS ( serv. 
> 2ah y 2bh )
> is for this, when you change the clock, refresh all programs inmediatly
> 
> in xp do not be since like the clock work, it is because of it that you do 
> not have solution to your case
> while work in DOS
> 
> regards
> 
> 
> "Carlos Beling" <beling@itevip.com.br> escribió en el mensaje 
> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>> Hi:
>> good night.
>>
>> The attached program runs fine under Windows 98 Se, detecting changes 
>> diferent de +1
>> second made in the clock. I do it in the Task Bar of the Desktop.
>> Can one tell me why it does not work in Windows XP?
>>
>> . I compile it using Clipper x -a-m-n-q-q-b
>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>
>> Beling
>> Best regards
>>
> 
>
JorgeRe: Date() and Time()
on Tue, 17 Jun 2008 12:24:56 -0300
Hello

>>If you may want I can send to you the Clipper program compiled.

becarefull with dbskip(0), in xbase that it not work like in clipper, you
must to do dbskip() and dbskip(-1) to flush and refresh the data base in a
network or in windows in the same pc

i passed this tip to Jos Luis Otermin that are a local support of alaska,

regards



"Carlos Beling" <beling@itevip.com.br> escribi en el mensaje 
news:22894550$72aa5bbe$3be@news.alaska-software.com...
Hi Jorge:
good morning.
I posted two e-mails to you and they came back to me. Please see below:

======== message:
The original message was received at Tue, 17 Jun 2008 11:07:43 -0300
from columbia.ite.net.br [200.142.224.15]

    ----- The following addresses had permanent fatal errors -----
<jlborlando@way.com.ar>
     (reason: 550-Su correo es considerado SPAM  - Mensaje rechazado porque 
su host)

    ----- Transcript of session follows -----
... while talking to mail.way.com.ar.:
 >>> >>> DATA
<<< 550-Su correo es considerado SPAM  - Mensaje rechazado porque su host
<<< 550 200.142.224.5 esta listado en: dynablock.wirehub.net
550 5.1.1 <jlborlando@way.com.ar>... User unknown
<<< 503 valid RCPT command must precede DATA
============ end of the message

Jorge escreveu:
> Hello
> in windows 95, 98 the clock refresh and work with the int 21h of DOS ( 
> serv. 2ah y 2bh )
> is for this, when you change the clock, refresh all programs inmediatly
>
> in xp do not be since like the clock work, it is because of it that you do 
> not have solution to your case
> while work in DOS
>
> regards
>
>
> "Carlos Beling" <beling@itevip.com.br> escribi en el mensaje 
> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>> Hi:
>> good night.
>>
>> The attached program runs fine under Windows 98 Se, detecting changes 
>> diferent de +1
>> second made in the clock. I do it in the Task Bar of the Desktop.
>> Can one tell me why it does not work in Windows XP?
>>
>> . I compile it using Clipper x -a-m-n-q-q-b
>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>
>> Beling
>> Best regards
>>
>
>
JorgeRe: Date() and Time() - previus mail
on Tue, 17 Jun 2008 12:27:06 -0300
hi carlos, i be your perdon but i don't understand well your question and
your prblem for my level of english

i understand that the time goes to 23:59:59 and change to 00:00:00, the
Date() function chane too, but if the user change the clock out of
aplication, the variable that have the old value will detect the change,
beacouse the clock returns behind

I do not deal because you do a program in clipper or xbase to do such a thin
control of the hour, which if it is not the point such a thin control, you
might manage with files on disc to solve the control and with intervals of 5
seconds or 60 seconds for example



"Carlos Beling" <beling@itevip.com.br> escribi en el mensaje 
news:22894550$72aa5bbe$3be@news.alaska-software.com...
Hi Jorge:
good morning.
I posted two e-mails to you and they came back to me. Please see below:

======== message:
The original message was received at Tue, 17 Jun 2008 11:07:43 -0300
from columbia.ite.net.br [200.142.224.15]

    ----- The following addresses had permanent fatal errors -----
<jlborlando@way.com.ar>
     (reason: 550-Su correo es considerado SPAM  - Mensaje rechazado porque 
su host)

    ----- Transcript of session follows -----
... while talking to mail.way.com.ar.:
 >>> >>> DATA
<<< 550-Su correo es considerado SPAM  - Mensaje rechazado porque su host
<<< 550 200.142.224.5 esta listado en: dynablock.wirehub.net
550 5.1.1 <jlborlando@way.com.ar>... User unknown
<<< 503 valid RCPT command must precede DATA
============ end of the message

Jorge escreveu:
> Hello
> in windows 95, 98 the clock refresh and work with the int 21h of DOS ( 
> serv. 2ah y 2bh )
> is for this, when you change the clock, refresh all programs inmediatly
>
> in xp do not be since like the clock work, it is because of it that you do 
> not have solution to your case
> while work in DOS
>
> regards
>
>
> "Carlos Beling" <beling@itevip.com.br> escribi en el mensaje 
> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>> Hi:
>> good night.
>>
>> The attached program runs fine under Windows 98 Se, detecting changes 
>> diferent de +1
>> second made in the clock. I do it in the Task Bar of the Desktop.
>> Can one tell me why it does not work in Windows XP?
>>
>> . I compile it using Clipper x -a-m-n-q-q-b
>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>
>> Beling
>> Best regards
>>
>
>
Carlos Beling Re: Date() and Time() - previus mail
on Tue, 17 Jun 2008 15:37:57 -0300
Hi Jorge:
good morning.
Many thanks.
I'll post the problem in a little bit words:
. I have a very huge application that I'm converting to Xbase++ (GUI). I do not want CRT 
windows, so it is taken me more time for doing the job.
. This application has a program where persons type its identifier and password. This is 
logged together the system date and time for late usage.
. When running it under XP, the OS returns the clock changes and not the date changing.
. According your observations I wrote a program in Xbase++ that updates a Data Base that 
is shared with the DOS application.
. It is running fine in one computer with XP installed.
Could you please running it in you computer? If you may want I can send to you the Clipper 
program compiled. It is attached in the message that I posted to Andreas. If you want the 
Clipper program compiled I can post it for you.
Many thanks again.

I use Way too as internet provider (not for e-mail).

Beling
Best regards


Jorge escreveu:
> hi carlos, i be your perdon but i don't understand well your question and
> your prblem for my level of english
> 
> i understand that the time goes to 23:59:59 and change to 00:00:00, the
> Date() function chane too, but if the user change the clock out of
> aplication, the variable that have the old value will detect the change,
> beacouse the clock returns behind
> 
> I do not deal because you do a program in clipper or xbase to do such a thin
> control of the hour, which if it is not the point such a thin control, you
> might manage with files on disc to solve the control and with intervals of 5
> seconds or 60 seconds for example
> 
> 
> 
> "Carlos Beling" <beling@itevip.com.br> escribió en el mensaje 
> news:22894550$72aa5bbe$3be@news.alaska-software.com...
> Hi Jorge:
> good morning.
> I posted two e-mails to you and they came back to me. Please see below:
> 
> ======== message:
> The original message was received at Tue, 17 Jun 2008 11:07:43 -0300
> from columbia.ite.net.br [200.142.224.15]
> 
>     ----- The following addresses had permanent fatal errors -----
> <jlborlando@way.com.ar>
>      (reason: 550-Su correo es considerado SPAM  - Mensaje rechazado porque 
> su host)
> 
>     ----- Transcript of session follows -----
> ... while talking to mail.way.com.ar.:
>  >>> >>> DATA
> <<< 550-Su correo es considerado SPAM  - Mensaje rechazado porque su host
> <<< 550 200.142.224.5 esta listado en: dynablock.wirehub.net
> 550 5.1.1 <jlborlando@way.com.ar>... User unknown
> <<< 503 valid RCPT command must precede DATA
> ============ end of the message
> 
> Jorge escreveu:
>> Hello
>> in windows 95, 98 the clock refresh and work with the int 21h of DOS ( 
>> serv. 2ah y 2bh )
>> is for this, when you change the clock, refresh all programs inmediatly
>>
>> in xp do not be since like the clock work, it is because of it that you do 
>> not have solution to your case
>> while work in DOS
>>
>> regards
>>
>>
>> "Carlos Beling" <beling@itevip.com.br> escribió en el mensaje 
>> news:505e7f1b$2bc4b853$68e@news.alaska-software.com...
>>> Hi:
>>> good night.
>>>
>>> The attached program runs fine under Windows 98 Se, detecting changes 
>>> diferent de +1
>>> second made in the clock. I do it in the Task Bar of the Desktop.
>>> Can one tell me why it does not work in Windows XP?
>>>
>>> . I compile it using Clipper x -a-m-n-q-q-b
>>> . I link it using Blinker Fi x  Fi Cld.lib Bli Inc Off
>>>
>>> Beling
>>> Best regards
>>>
>>
> 
>