blob: 960fc3296464dd42c76df831c9123fa56d2da31b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// --------------------------------------------------------------------------
//
// File
// Name: BoxTime.cpp
// Purpose: Time for the box
// Created: 2003/10/08
//
// --------------------------------------------------------------------------
#include "Box.h"
#include <time.h>
#include "BoxTime.h"
#include "MemLeakFindOn.h"
// --------------------------------------------------------------------------
//
// Function
// Name: GetCurrentBoxTime()
// Purpose: Returns the current time as a box time. (1 sec precision)
// Created: 2003/10/08
//
// --------------------------------------------------------------------------
box_time_t GetCurrentBoxTime()
{
return SecondsToBoxTime(time(0));
}
|