Source/CVCardDateTime.cpp
CVCardDateTime CVCardDateTime::GetToday()
{
	// Get from posix time
	time_t now = time(NULL);
	struct tm* now_tm = std::localtime(&now);
	
	return CVCardDateTime(now_tm->tm_year + 1900, now_tm->tm_mon + 1, now_tm->tm_mday);
}
// Get current date (in local timezone)
Get current date (in local timezone)
Get current date ( in local timezone )
CVCardDateTime CVCardDateTime::GetToday()
{
	time_t now = time(NULL);
	struct tm* now_tm = std::localtime(&now);
	return CVCardDateTime(now_tm->tm_year + 1900, now_tm->tm_mon + 1, now_tm->tm_mday);
}
CVCardDateTime CVCardDateTime :: GetToday ( ) { time_t now = time ( NULL ) ; struct tm * now_tm = std :: localtime ( & now ) ; return CVCardDateTime ( now_tm -> tm_year + 1900 , now_tm -> tm_mon + 1 , now_tm -> tm_mday ) ; }
Get current date (in local timezone)
Get current date ( in local timezone )
// Get from posix time