Create a new Time structure expressed in the local timezone.

Property definitions

core $ Tm :: localtime
	# Create a new Time structure expressed in the local timezone.
	new localtime `{
		struct tm *tm;
		time_t t = time(NULL);
		tm = localtime(&t);
		return tm;
	`}
lib/core/time.nit:118,2--124,3