(SOC - Test) Storage Only Commit
This commit is contained in:
@@ -14,3 +14,12 @@ int Utils_CalcDigits(long long n)
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
int Utils_CalcDateTimeLiteralisationLength(char *buff)
|
||||
{
|
||||
const time_t now = time(NULL);
|
||||
|
||||
(void)strftime(buff, 28, DATETIME_FORMAT, localtime(&now));
|
||||
|
||||
return strlen(buff);
|
||||
}
|
||||
|
Reference in New Issue
Block a user