language-extensions/R/test/src/Utilities.cpp
//--------------------------------------------------------------------------------------------------
// Name: Utilities::GetNow
//
// Description:
//  Returns the current system clock time in terms of time_t which represents number of seconds
//  since epoch January 1, 1970 00:00:00.
//
:GetNow
Description:
Returns the current system clock time in terms of time_t which represents number of seconds
since epoch January 1, 1970 00:00:00.
: GetNow Description : Returns the current system clock time in terms of time_t which represents number of seconds since epoch January 1 1970 00 : 00 : 00 .
time_t Utilities::GetNow()
{
	chrono::system_clock::time_point now = chrono::system_clock::now();
	time_t time = chrono::system_clock::to_time_t(now);
	return time;
}
time_t Utilities :: GetNow ( ) { chrono :: system_clock :: time_point now = chrono :: system_clock :: now ( ) ; time_t time = chrono :: system_clock :: to_time_t ( now ) ; return time ; }
Name: Utilities::GetNow
Description:
Returns the current system clock time in terms of time_t which represents number of seconds
since epoch January 1, 1970 00:00:00.
Name : Utilities :: GetNow Description : Returns the current system clock time in terms of time_t which represents number of seconds since epoch January 1 1970 00 : 00 : 00 .