Save
Forgot Password
Register Here
Resources
Applications
AI
Business
Components and Libraries
Computer Science
Database
Documents And Specifications
Enterprise Application Integration
Game
Hardware
Multimedia
Network
Security
Tools And Utilities
Training And Certification
Web
Languages
Assembly
Basic
C
C#
C++
Delphi
Java
JavaScript
Other Languages
Pascal
Perl
PHP
Python
Ruby
VB-Script
Visual Basic
Platforms
.NET
Browser Based
Consoles
CPU
Embedded
Java Platform
Legacy Platforms
Linux
Macintosh
Mobile Platforms
MS-DOS
Remotely Hosted
UNIX
WEB Service
Windows
Forums
Unanswered Posts
Latest Threads
Latest Posts
Programming Languages
Assembler Developer
Basic
C and C++
C#
Delphi and Kylix
Java
Pascal
Perl
PHP
Python
Ruby
VB.NET
VBA
Visual Basic
Applications
Computer Graphics
Computer Hardware
Database & SQL
Electronics development
Game programming
Matlab
Sound & Music
XML Development
Classifieds
Co-operative Projects
For sale
FreeLance Software City
Jobs Available
Jobs Wanted
Wanted
Microsoft .NET
.NET General
ASP.NET
Miscellaneous
Comments on the PH Re-design
Comments on this site
Computer Emulators
General programming
New programming languages
Off topic board
Mobile & Wireless
Palm Pilot
Multimedia
Demo programming
MP3 programming
Operating Systems & Platforms
Cloud Computing
Embedded / RTOS
FreeBSD
LINUX programming
MS-DOS
Windows CE & Pocket PC
Windows programming
Software Development
Algorithms
Object Orientation
Project Management
Quality & Testing
Security
WEB-Development
Active Server Pages
AJAX
CGI Development
ColdFusion
Flash development
HTML & WEB-Design
Internet Development
JavaScript
WEB Servers
WEB-Services / SOAP
Blogs
Blog Startpage
Latest Blog Posts
Submit
Article
Book
File
Link
News
PAD File
Wiki Article
Jobs
Dev Tools
PH
Search
Newsletter
Merchandise
Top User Lists
Getting Started Guide
Help
Advertise
Contact Us
HOME
>
Forums
>
Pascal
> get system time in pascal
Pascal
Moderators: None (
Apply to moderate this forum
)
Number of threads:
4095
Number of posts:
14004
With full replies
Topics only
Pascal
Forum Info
This Forum Only
Single Post View
Linear View
Threaded View
f
Printer Friendly
RSS Feed
get system time in pascal
Posted by
lih0nman
on 23 Oct 2006 at 10:56 PM
hello,
how can i get the system time in pascal?
and if there is any PHP guru out there, is there a pascal-equivalent of the " time() " function in PHP?
thanx!
Share By Email
Re: get system time in pascal
Posted by
zibadian
on 24 Oct 2006 at 12:34 AM
: hello,
:
: how can i get the system time in pascal?
:
: and if there is any PHP guru out there, is there a pascal-equivalent of the " time() " function in PHP?
:
: thanx!
:
Time() gives you the system time already. Or do you mean the uptime or tickcount?
Share By Email
Re: get system time in pascal
Posted by
lih0nman
on 24 Oct 2006 at 3:35 AM
i mean getting the system time in _pascal_ , NOT in PHP ...
Share By Email
Re: get system time in pascal
Posted by
zibadian
on 24 Oct 2006 at 4:36 AM
: i mean getting the system time in _pascal_ , NOT in PHP ...
:
The Time() function is a Pascal function, which returns the DOS system time.
Share By Email
Re: get system time in pascal
Posted by
lih0nman
on 24 Oct 2006 at 6:26 AM
i used the quick pascal compiler released by Microsoft in 1989 to compile this -
******************
uses crt;
begin
writeln(Time());
end.
******************
and the compiler returned an error messaging saying that TIME is an unknow identifier.
is there anything special to use this function? thanx again.
Share By Email
Re: get system time in pascal
Posted by
zibadian
on 24 Oct 2006 at 6:58 AM
This message was edited by zibadian at 2006-10-24 6:59:21
: i used the quick pascal compiler released by Microsoft in 1989 to compile this -
:
: ******************
: uses crt;
: begin
: writeln(Time());
: end.
: ******************
:
: and the compiler returned an error messaging saying that TIME is an unknow identifier.
:
: is there anything special to use this function? thanx again.
:
In TP it is located in the Dos unit. Otherwise consult the help files for the unit which declares the Time() function.
Share By Email
Re: get system time in pascal
Posted by
Phat Nat
on 3 Nov 2006 at 4:04 PM
:
This message was edited by zibadian at 2006-10-24 6:59:21
: : i used the quick pascal compiler released by Microsoft in 1989 to compile this -
: :
: : ******************
: : uses crt;
: : begin
: : writeln(Time());
: : end.
: : ******************
: :
: : and the compiler returned an error messaging saying that TIME is an unknow identifier.
: :
: : is there anything special to use this function? thanx again.
: :
: In TP it is located in the Dos unit. Otherwise consult the help files for the unit which declares the Time() function.
:
:
:
It's actually GetTime(), not Time() and it's located in the DOS unit.
Hope this helps.
Phat Nat
Share By Email
Recent Jobs
Home
About PH
Privacy Statement
Hosted SubVersion
Hosted Bugtracker
Contact Us
Advertise Here
Official Programmer's Heaven Blogs
Web Hosting
|
Browser and Social Games
|
Gadgets
Popular resources on Programmersheaven.com
Assembly
|
Basic
|
C
|
C#
|
C++
|
Delphi
|
Flash
|
Java
|
JavaScript
|
Pascal
|
Perl
|
PHP
|
Python
|
Ruby
|
Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our
Terms Of Use
and
Privacy Statement
for more information.
Operated by
CommunityHeaven
, a
BootstrapLabs
company.