|
|
1.1 root 1: #include <stdio.h>
2: #include "Time.h"
3:
4: Time *localtime(), *gmtime();
5:
6: Time
7: LocalTime()
8: {
9: LongCardinal t;
10:
11: time(&t);
12: return (*localtime(&t));
13: }
14:
15: Time
16: GMTime()
17: {
18: LongCardinal t;
19:
20: time(&t);
21: return (*gmtime(&t));
22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.