Board index » delphi » Time and Date set

Time and Date set

Hy

Does anybody know how to set the current time and date in Delphi

Many greetings from the Traunsee

Andreas Obermair
INFO TECH Informations
Technologie GesmbH - Abt. Entwicklung
T: +43 / (0)7612 / 785 224
F: +43 / (0)7612 / 785 160
E-Mail: infotech.entwickl...@telecom.at

 

Re:Time and Date set


If you mean reading the current date & time from the system clock, look up
the Date function in the online help.

Alain Quesnel

Andreas Obermair - INFOtech <infotech.entwickl...@telecom.at> wrote in
article <01bc7250$7b914780$422e76c2@andreaso>...

Quote
> Hy

> Does anybody know how to set the current time and date in Delphi

> Many greetings from the Traunsee

> Andreas Obermair
> INFO TECH Informations
> Technologie GesmbH - Abt. Entwicklung
> T: +43 / (0)7612 / 785 224
> F: +43 / (0)7612 / 785 160
> E-Mail: infotech.entwickl...@telecom.at

Re:Time and Date set


Try Win32 API functions:

GetSystemTime and
SetSystemTime

--
<>< <>< <>< <>< <>< <>< <>< <>< <>< <>< <><
This email sent by m...@ulf.net.
Visit me on the web at http://www.ulf.net.
-------------------------------------------
LEGAL NOTICE

The posting of my e-mail address on Usenet,
via e-mail, or on my web pages is not a
solicitation for commercial or "business
opportunity" e-mail.
It is to be considered exclusively as a
means of allowing for _personal_communication_.
For legal purposes the equipment attached to
my e-mail address is to be considered a
"facsimile machine" and you are so notified.
The sending of unsolicited e-mail ("faxes")
to this e-mail address will be responded to
by me to the fullest extent provided for in
both state (RCW 80.36.540, RCW 19.86) and
federal (47 USC 227) law.
In addition, unsolicited e-mail of a commercial
nature will be referred to your internet
provider for immediate action.
This statement does not apply to commercial
e-mail explicitly requested by me.

Andreas Obermair - INFOtech <infotech.entwickl...@telecom.at> wrote in
article <01bc7250$7b914780$422e76c2@andreaso>...

Quote
> Hy

> Does anybody know how to set the current time and date in Delphi

> Many greetings from the Traunsee

> Andreas Obermair
> INFO TECH Informations
> Technologie GesmbH - Abt. Entwicklung
> T: +43 / (0)7612 / 785 224
> F: +43 / (0)7612 / 785 160
> E-Mail: infotech.entwickl...@telecom.at

Other Threads