Results 1 to 3 of 3
I am new to assembly language in linux, and I have a question. How would I go about getting and printing the system date?...
- 02-14-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 3
Getting the system time
I am new to assembly language in linux, and I have a question. How would I go about getting and printing the system date?
- 02-14-2007 #2
Assembly language? Are you really doing that low level of programming? In Linux, you can obtain the system time with the date command. You may need to use sed or something along those lines to extract just the time field, though.
- 02-14-2007 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 3
yes, unfortunately i am using low level programming. Any hints that you could provide? I was told that there was a time system call called sys_time or something like that that could return the number of seconds that have elapsed since January 1, 1070 at midnight.


Reply With Quote