X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42413abf113481fddc1660df14a936201691dc06..bc509e346e5475c0cd5570c7c5ece0e2c7e9d14e:/docs/latex/wx/datetime.tex?ds=sidebyside diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index a97e2238f7..8d85f76d82 100644 --- a/docs/latex/wx/datetime.tex +++ b/docs/latex/wx/datetime.tex @@ -547,10 +547,21 @@ Returns the current time. \membersection{wxDateTime::GetTmNow}\label{wxdatetimegettmnow} -\func{static struct tm *}{GetTmNow}{\void} +\func{static struct tm *}{GetTmNow}{\param{struct tm *}{tm}} + +Returns the current time broken down, uses the buffer whose adress is +passed to the function via {\it tm} to store the result. -Returns the current time broken down. +\membersection{wxDateTime::GetTmNow} + +\func{static struct tm *}{GetTmNow}{\void} +Returns the current time broken down. Note that this function returns a +pointer to a static buffer that's reused by calls to this function and +certain C library functions (e.g. localtime). If there is any chance your +code might be used in a multi-threaded application, you really should use +the flavour of function \helpref{wxDateTime::GetTmNow}{wxdatetimegettmnow} +taking a parameter. \membersection{wxDateTime::GetWeekDayName}\label{wxdatetimegetweekdayname}