From 528963746741263643d83101831ff3f5252e5399 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 13 Jul 2012 11:10:08 +0800 Subject: [PATCH] Kernel - Better documentation of timestamp/format_date --- KernelLand/Kernel/include/acess.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KernelLand/Kernel/include/acess.h b/KernelLand/Kernel/include/acess.h index 1415237c..1a982fe5 100644 --- a/KernelLand/Kernel/include/acess.h +++ b/KernelLand/Kernel/include/acess.h @@ -484,10 +484,12 @@ extern int Module_LoadFile(const char *Path, const char *ArgStr); */ /** * \brief Create a timestamp from a time + * \note Days/Months are zero-based (e.g. December is 11, and has a day range of 0-30) */ extern tTime timestamp(int sec, int mins, int hrs, int day, int month, int year); /** * \brief Extract the date/time from a timestamp + * \note Days/Months are zero-based (e.g. December is 11, and has a day range of 0-30) */ extern void format_date(tTime TS, int *year, int *month, int *day, int *hrs, int *mins, int *sec, int *ms); /** -- 2.20.1