\doxysection{Qore\+::zzz8datezzz9 Class Reference}
\hypertarget{class_qore_1_1zzz8datezzz9}{}\label{class_qore_1_1zzz8datezzz9}\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}


Methods in this pseudo-\/class can be executed on \doxysectlink{basic_data_types_date}{date/time value types}{1}.  




{\ttfamily \#include $<$Pseudo\+\_\+\+QC\+\_\+\+Date.\+dox.\+h$>$}



Inheritance diagram for Qore\+::zzz8datezzz9\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=140pt]{class_qore_1_1zzz8datezzz9__inherit__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a4489e87e23f140760686d0ed1c66eff4}{absolute}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2} if the date is an \doxysectlink{basic_data_types_absolute_dates}{absolute date/time value}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\+\_\+\+\_\+7\+\_\+}} \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a3f00e7b1ba04e6a216ba190d54840bc2}{current\+Zone\+Name}} ()
\begin{DoxyCompactList}\small\item\em Returns the name of the current time zone for the current \doxysectlink{basic_data_types_absolute_dates}{absolute date/time value}{2} (ex\+: {\ttfamily "{}\+CEST"{}} for Central European Summer Time for a time during summer time or {\ttfamily "{}\+CET"{}} for Central European Time for the same time zone while daylight savings time is not active) or a UTC offset (like {\ttfamily "{}+01"{}}) or {\ttfamily "{}\+UTC"{}} or \doxysectlink{basic_data_types_nothing}{NOTHING}{1} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_ae0566a68783890f894213258833b0b37}{day\+Number}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer representing the ordinal day number in the year (corresponding to the \href{http://en.wikipedia.org/wiki/ISO_8601\#Ordinal_dates}{\texttt{ ISO-\/8601 day number}}) for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a776388307af89346ac4456a09d8fb22d}{day\+Of\+Week}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer representing the day of the week for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value (0=Sunday, 6=Saturday) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a04d1e263ad79ed6ef30e26e49dcc4064}{days}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal day value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c}{duration\+Microseconds}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer value representing the the number of microseconds of time duration in the date value (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476}{duration\+Milliseconds}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer value representing the the number of milliseconds of time duration in the date value (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f}{duration\+Seconds}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer value representing the the number of seconds of time duration in the date value (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a51af864148656e9fe7dd6e9bc1aba1df}{duration\+Seconds\+Float}} ()
\begin{DoxyCompactList}\small\item\em Returns a floating-\/point value representing the the number of seconds of duration in the value of the date passed (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_aeff0dd69a9ef8f228b54ba5543b2e3c6}{format}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} format)
\begin{DoxyCompactList}\small\item\em Returns a formatted string for the date value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a61fbd9f6e28a6af34d666ecb7b0bdad2}{get\+Epoch\+Seconds}} ()
\begin{DoxyCompactList}\small\item\em Returns the number of seconds since the start of the epoch (1970-\/01-\/01Z) for the current date for \doxysectlink{basic_data_types_absolute_dates}{absolute date/time values}{2}; returns 0 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_ac7dff505bad9f169f79215cdd3f368dc}{get\+Epoch\+Seconds\+Local\+Time}} ()
\begin{DoxyCompactList}\small\item\em Returns the number of seconds since the start of the epoch (1970-\/01-\/01) for the current date in the local time zone for \doxysectlink{basic_data_types_absolute_dates}{absolute date/time values}{2}; returns 0 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a281e6ff94edaf0a601e604bca2dc52f7}{get\+Utc\+Offset}} ()
\begin{DoxyCompactList}\small\item\em Returns the time zone offset for the current time in seconds east of UTC or -\/1 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a020025625850084710c7eddd0fa2ab51}{hours}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal hour value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga24ee71727f0785d3b826833ed6f5e2ee}{hash}}$<$ \mbox{\hyperlink{struct_qore_1_1_date_time_info}{Date\+Time\+Info}} $>$ \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a8570798c5d3d8273e45af77bd1817a3e}{info}} ()
\begin{DoxyCompactList}\small\item\em Returns a \doxylink{struct_qore_1_1_date_time_info}{Date\+Time\+Info} hash for the date (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_aa834702a304a20d6443014ae09e73be9}{intp}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2} because date values can be converted to integers. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a657e9b7211b84a2f9df8f3ccb5b91ffb}{is\+Dst}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2} if the current date/time value is currently in daylight savings time. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_ad38a12c3b55fab4825bbb7d6125df1e5}{iso\+Day\+Of\+Week}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer representing the ISO-\/8601 day of the week for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value (1=Monday, 7=Sunday) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga24ee71727f0785d3b826833ed6f5e2ee}{hash}}$<$ \mbox{\hyperlink{struct_qore_1_1_iso_week_info}{Iso\+Week\+Info}} $>$ \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_ad8c2c004a04ac7db6427f3e158d7400b}{iso\+Week\+Hash}} ()
\begin{DoxyCompactList}\small\item\em Returns an \doxylink{struct_qore_1_1_iso_week_info}{Iso\+Week\+Info} hash representing the ISO-\/8601 calendar week information for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} (hash keys\+: {\ttfamily "{}year"{}}, {\ttfamily "{}week"{}}, {\ttfamily "{}day"{}}) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_aa03daafa0fe01dfa0abf447d8ca135fd}{iso\+Week\+String}} ()
\begin{DoxyCompactList}\small\item\em Returns a string representing the ISO-\/8601 calendar week information for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} (ex\+: 2006-\/01-\/01 = "{}2005-\/\+W52-\/7"{}) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_aacf57fbebe79940acf8012374393efa5}{microseconds}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal microsecond value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__date__and__time__functions_gaa80ee453b6a5653ac685d7e290c74e3f}{date}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a1946f38ad9528c2e80552b8e2bc39f62}{midnight}} ()
\begin{DoxyCompactList}\small\item\em Returns midnight on the given date (strips the time component on the new value) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a3c9429701ac6b58b051352abf153b735}{milliseconds}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal millisecond value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_abac32dbfcda338145542f5dd5ddd37af}{minutes}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal minute value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a75eb73a84fad87f7b94e932d3afb929a}{months}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal month value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a950a764a23c240b3aa49ccb335538a65}{relative}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2} if the date is a \doxysectlink{basic_data_types_relative_dates}{relative date/time value}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a2c3593e5034555434a59b1637b1eb2af}{seconds}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal second value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_ad7e86f987c8889fde5c36cf1fbc8b0d3}{strp}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2} because boolean values can be converted to strings. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a7167b9d2407c8a6448f53e3ebc1670a1}{type\+Code}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxylink{group__type__code__constants_ga230aa338eb63ada8096e318095f8052c}{Qore\+::\+NT\+\_\+\+DATE}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a798148fc6daeaf36a5413d731cab40e6}{val}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_False}{False}{2} if the date value is all zeros, \doxysectlink{basic_data_types_True}{True}{2} if not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_ab52a41f7b16ad2b9115dd1ae05e0b21c}{years}} ()
\begin{DoxyCompactList}\small\item\em Returns an integer corresponding to the literal year value in the date (does not calculate a duration) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\+\_\+\+\_\+7\+\_\+}} \mbox{\hyperlink{class_qore_1_1_time_zone}{Time\+Zone}} \mbox{\hyperlink{class_qore_1_1zzz8datezzz9_a4a7478124248ca3f481e52598244e2ae}{zone}} ()
\begin{DoxyCompactList}\small\item\em Returns a \doxylink{class_qore_1_1_time_zone}{Qore\+::\+Time\+Zone} object for the time zone of the date/time value; returns \doxysectlink{basic_data_types_nothing}{NOTHING}{1} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9}{Qore\+::zzz8valuezzz9}}}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a3bd7145235f0f4160b29e9ff1a925f4f}{callp}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_False}{False}{2}; this method is reimplemented in other types and will return \doxysectlink{basic_data_types_True}{True}{2} if the given expression is a callable value (ie \doxysectlink{expressions_closure}{closures}{1} or \doxysectlink{expressions_call_reference}{call references}{1}) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a3ef4fe2f9389f29e7c53e2cfc4217a97}{complex\+Type}} ()
\begin{DoxyCompactList}\small\item\em returns \doxysectlink{basic_data_types_True}{True}{2} if the value has a complex type, \doxysectlink{basic_data_types_False}{False}{2} if not \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_aa89ad8b046cb41c3588b75e07426696c}{empty}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2}; this method will be reimplemented in container types where it may return \doxysectlink{basic_data_types_False}{False}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_abd777c781935cb8faf3381fcc7ef3e88}{full\+Type}} (\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\+\_\+\+\_\+7\+\_\+}} \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{with\+\_\+namespaces}})
\begin{DoxyCompactList}\small\item\em returns the full type name which differs from the simple type name in case of complex types and objects \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a6feb7fd9eae7eac19775a47db23ad4e5}{intp}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_False}{False}{2}; this method is reimplemented in other types and will return \doxysectlink{basic_data_types_True}{True}{2} if the given expression can be converted to an integer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_qore_1_1_abstract_iterator}{Abstract\+Iterator}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a16b7eeea1bb08b7c3faa69b2aa602fbb}{iterator}} ()
\begin{DoxyCompactList}\small\item\em Returns an iterator object for the value; the default iterator object returned is \doxylink{class_qore_1_1_single_value_iterator}{Single\+Value\+Iterator}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a6088d2158ce94d0d6c9159a628f79017}{lsize}} ()
\begin{DoxyCompactList}\small\item\em Returns 1; the return value of this method should give the list size of the value, which is normally 1 for non-\/lists (except for \doxysectlink{basic_data_types_nothing}{NOTHING}{1} where the size will be 0) and the number of the elements in the list for lists; this method will be reimplemented in other types where it may return other values. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a794caed9de093e89d88bfbe652e15a06}{size}} ()
\begin{DoxyCompactList}\small\item\em Returns zero; this method will be reimplemented in container types where it may return a non-\/zero value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_aefcaa86868b4993dd5b0f91fa7b5c1ad}{sizep}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_True}{True}{2} if the type can return a non-\/zero size (\doxysectlink{basic_data_types_True}{True}{2} for containers including \doxysectlink{basic_data_types_binary}{binary objects}{1} and \doxysectlink{basic_data_types_string}{strings}{1}, \doxysectlink{basic_data_types_False}{False}{2} for everything else) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_af066cf20f6d6a860d209acc7e9e40c20}{strp}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_False}{False}{2}; this method is reimplemented in other types and will return \doxysectlink{basic_data_types_True}{True}{2} if the given expression can be converted to a string. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a671b4af222d6351eb969c2b1d710d463}{to\+Bool}} ()
\begin{DoxyCompactList}\small\item\em Returns the boolean representation of the value; the default is \doxysectlink{basic_data_types_False}{False}{2}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a11505ca76b6e168b1d143b3fc8d1ba60}{to\+Float}} ()
\begin{DoxyCompactList}\small\item\em Returns the floating-\/point representation of the value; the default is 0.\+0. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_aed0897423af7ddcb1ade7df4c4a61364}{to\+Int}} ()
\begin{DoxyCompactList}\small\item\em Returns the integer representation of the value; the default is 0. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_ad4bcbe12f38c710e0e7e67a68ab0512f}{to\+Number}} ()
\begin{DoxyCompactList}\small\item\em Returns the arbitrary-\/precision numeric representation of the value; the default is 0. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a82c78c7b10d754b7c528126eee07e286}{to\+String}} (\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\+\_\+\+\_\+7\+\_\+}} \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} encoding)
\begin{DoxyCompactList}\small\item\em Returns the string representation of the value; the default is an empty string. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a333453fca3889bfa8d4159b921b1ab87}{type}} ()
\begin{DoxyCompactList}\small\item\em Returns the string type for the value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a5e7d381ab49abebd0d0f045708482512}{type\+Code}} ()
\begin{DoxyCompactList}\small\item\em Returns the type code for the value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} \mbox{\hyperlink{class_qore_1_1zzz8valuezzz9_a3a66486cee14aa073cf90fbed5a23edd}{val}} ()
\begin{DoxyCompactList}\small\item\em Returns \doxysectlink{basic_data_types_False}{False}{2}; this method is reimplemented in other types and will return \doxysectlink{basic_data_types_True}{True}{2} if the given expression has a non-\/empty value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Methods in this pseudo-\/class can be executed on \doxysectlink{basic_data_types_date}{date/time value types}{1}. 

\doxysubsection{Member Function Documentation}
\Hypertarget{class_qore_1_1zzz8datezzz9_a4489e87e23f140760686d0ed1c66eff4}\label{class_qore_1_1zzz8datezzz9_a4489e87e23f140760686d0ed1c66eff4} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!absolute@{absolute}}
\index{absolute@{absolute}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{absolute()}{absolute()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} Qore\+::zzz8datezzz9\+::absolute (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxysectlink{basic_data_types_True}{True}{2} if the date is an \doxysectlink{basic_data_types_absolute_dates}{absolute date/time value}{2}. 

\begin{DoxyReturn}{Returns}
\doxysectlink{basic_data_types_True}{True}{2} if the date is an \doxysectlink{basic_data_types_absolute_dates}{absolute date/time value}{2}
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{bool\ b\ =\ d.absolute();}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_a3f00e7b1ba04e6a216ba190d54840bc2}\label{class_qore_1_1zzz8datezzz9_a3f00e7b1ba04e6a216ba190d54840bc2} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!currentZoneName@{currentZoneName}}
\index{currentZoneName@{currentZoneName}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{currentZoneName()}{currentZoneName()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\+\_\+\+\_\+7\+\_\+}} \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} Qore\+::zzz8datezzz9\+::current\+Zone\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the name of the current time zone for the current \doxysectlink{basic_data_types_absolute_dates}{absolute date/time value}{2} (ex\+: {\ttfamily "{}\+CEST"{}} for Central European Summer Time for a time during summer time or {\ttfamily "{}\+CET"{}} for Central European Time for the same time zone while daylight savings time is not active) or a UTC offset (like {\ttfamily "{}+01"{}}) or {\ttfamily "{}\+UTC"{}} or \doxysectlink{basic_data_types_nothing}{NOTHING}{1} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. 

\begin{DoxyReturn}{Returns}
the name of the current time zone for the current \doxysectlink{basic_data_types_absolute_dates}{absolute date/time value}{2} (ex\+: {\ttfamily "{}\+CEST"{}} for Central European Summer Time for a time during summer time or {\ttfamily "{}\+CET"{}} for Central European Time for the same time zone while daylight savings time is not active) or a UTC offset (like {\ttfamily "{}+01"{}}) or {\ttfamily "{}\+UTC"{}} or \doxysectlink{basic_data_types_nothing}{NOTHING}{1} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{*string\ zn\ =\ d.currentZoneName();}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_ae0566a68783890f894213258833b0b37}\label{class_qore_1_1zzz8datezzz9_ae0566a68783890f894213258833b0b37} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!dayNumber@{dayNumber}}
\index{dayNumber@{dayNumber}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{dayNumber()}{dayNumber()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::day\+Number (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer representing the ordinal day number in the year (corresponding to the \href{http://en.wikipedia.org/wiki/ISO_8601\#Ordinal_dates}{\texttt{ ISO-\/8601 day number}}) for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value. 

\begin{DoxyReturn}{Returns}
an integer representing the ordinal day number in the year (corresponding to the \href{http://en.wikipedia.org/wiki/ISO_8601\#Ordinal_dates}{\texttt{ ISO-\/8601 day number}}) for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value; if a \doxysectlink{basic_data_types_relative_dates}{relative date}{2} value is used, then this method will return 0
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ dn\ =\ dt.dayNumber();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_gaec9d8c1ba3a39869904f27e8c0706589}{Qore\+::get\+\_\+day\+\_\+number()}
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_a776388307af89346ac4456a09d8fb22d}\label{class_qore_1_1zzz8datezzz9_a776388307af89346ac4456a09d8fb22d} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!dayOfWeek@{dayOfWeek}}
\index{dayOfWeek@{dayOfWeek}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{dayOfWeek()}{dayOfWeek()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::day\+Of\+Week (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer representing the day of the week for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value (0=Sunday, 6=Saturday) 

\begin{DoxyReturn}{Returns}
an integer representing the day of the week for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value (0=Sunday, 6=Saturday); if a \doxysectlink{basic_data_types_relative_dates}{relative date}{2} value is used, then this method will return 0
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ dn\ =\ dt.dayOfWeek();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_gaa546956fb71d56f18c903aff1f3fc01a}{Qore\+::get\+\_\+day\+\_\+of\+\_\+week()}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxylink{class_qore_1_1zzz8datezzz9_ad38a12c3b55fab4825bbb7d6125df1e5}{Qore\+::zzz8datezzz9\+::iso\+Day\+Of\+Week()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_a04d1e263ad79ed6ef30e26e49dcc4064}\label{class_qore_1_1zzz8datezzz9_a04d1e263ad79ed6ef30e26e49dcc4064} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!days@{days}}
\index{days@{days}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{days()}{days()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::days (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal day value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal day value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.days();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga12df9bddb196820c9278f7884d6816f0}{get\+\_\+days(date)} 
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c}\label{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!durationMicroseconds@{durationMicroseconds}}
\index{durationMicroseconds@{durationMicroseconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{durationMicroseconds()}{durationMicroseconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::duration\+Microseconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer value representing the the number of microseconds of time duration in the date value (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) 

\begin{DoxyReturn}{Returns}
an integer value representing the the number of microseconds in the date value; if the value is a \doxysectlink{basic_data_types_relative_dates}{relative date}{2}, the value is normalized to microseconds and the integer microseconds value is returned, if the value is an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2}, the duration in microseconds is calculated from the present time; so if the present time is sent as an argument, 0 is returned, if a future date is used, the number of microseconds from the present time to the future date is returned, if an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} in the past is used, also 0 is returned (the pseudo-\/method does not calculate microsecond differences for \doxysectlink{basic_data_types_absolute_dates}{absolute dates}{2} in the past (for this use \doxylink{date_time_arithmetic}{Date/\+Time Arithmetic} instead); this method can only return a negative value if passed a relative date/time value
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ us\ =\ PT2M15S3u.durationMicroseconds();\ \textcolor{comment}{\#\ returns\ 135000003}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_ga314baf84678a796209a67156b4f5d8b8}{get\+\_\+duration\+\_\+microseconds()}
\item to get the literal microseconds integer value from a date/time value without calculating a duration, use \doxylink{class_qore_1_1zzz8datezzz9_aacf57fbebe79940acf8012374393efa5}{Qore\+::zzz8datezzz9\+::microseconds()}
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxylink{class_qore_1_1zzz8datezzz9_a51af864148656e9fe7dd6e9bc1aba1df}{Qore\+::zzz8datezzz9\+::duration\+Seconds\+Float()}
\item \doxylink{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f}{Qore\+::zzz8datezzz9\+::duration\+Seconds()}
\item \doxylink{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476}{Qore\+::zzz8datezzz9\+::duration\+Milliseconds()}
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+7 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476}\label{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!durationMilliseconds@{durationMilliseconds}}
\index{durationMilliseconds@{durationMilliseconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{durationMilliseconds()}{durationMilliseconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::duration\+Milliseconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer value representing the the number of milliseconds of time duration in the date value (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) 

The duration in milliseconds is calculated and any fractional milliseconds are truncated (no rounding is performed)

\begin{DoxyReturn}{Returns}
an integer value representing the the number of milliseconds in the date value; if the value is a \doxysectlink{basic_data_types_relative_dates}{relative date}{2}, the value is normalized to milliseconds and the integer milliseconds value is returned, if the value is an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2}, the duration in milliseconds is calculated from the present time; so if the present time is sent as an argument, 0 is returned, if a future date is used, the number of milliseconds from the present time to the future date is returned, if an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} in the past is used, also 0 is returned (the pseudo-\/method does not calculate millisecond differences for \doxysectlink{basic_data_types_absolute_dates}{absolute dates}{2} in the past (for this use \doxylink{date_time_arithmetic}{Date/\+Time Arithmetic} instead); this method can only return a negative value if passed a relative date/time value
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ us\ =\ PT2M15S3u.durationMilliseconds();\ \textcolor{comment}{\#\ returns\ 135000}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_ga9577b42c40fd075fb0bcb5ecabec75a1}{get\+\_\+duration\+\_\+milliseconds()}
\item to get the literal milliseconds integer value from a date/time value without calculating a duration, use \doxylink{class_qore_1_1zzz8datezzz9_a3c9429701ac6b58b051352abf153b735}{Qore\+::zzz8datezzz9\+::milliseconds()}
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxylink{class_qore_1_1zzz8datezzz9_a51af864148656e9fe7dd6e9bc1aba1df}{Qore\+::zzz8datezzz9\+::duration\+Seconds\+Float()}
\item \doxylink{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f}{Qore\+::zzz8datezzz9\+::duration\+Seconds()}
\item \doxylink{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c}{Qore\+::zzz8datezzz9\+::duration\+Microseconds()}
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+7 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f}\label{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!durationSeconds@{durationSeconds}}
\index{durationSeconds@{durationSeconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{durationSeconds()}{durationSeconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::duration\+Seconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer value representing the the number of seconds of time duration in the date value (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) 

The duration in seconds is calculated and any fractional seconds are truncated (no rounding is performed)

\begin{DoxyReturn}{Returns}
an integer value representing the the number of seconds in the date value; if the value is a \doxysectlink{basic_data_types_relative_dates}{relative date}{2}, the value is normalized to seconds and the integer seconds value is returned, if the value is an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2}, the duration in seconds is calculated from the present time; so if the present time is sent as an argument, 0 is returned, if a future date is used, the number of seconds from the present time to the future date is returned, if an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} in the past is used, also 0 is returned (the pseudo-\/method does not calculate second differences for \doxysectlink{basic_data_types_absolute_dates}{absolute dates}{2} in the past (for this use \doxylink{date_time_arithmetic}{Date/\+Time Arithmetic} instead); this method can only return a negative value if passed a relative date/time value
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ us\ =\ PT2M15S3u.durationSeconds();\ \textcolor{comment}{\#\ returns\ 135}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_ga98ef4a4d08621926630c15c1bbd769df}{get\+\_\+duration\+\_\+seconds()}
\item to get the literal seconds integer value from a date/time value without calculating a duration, use \doxylink{class_qore_1_1zzz8datezzz9_a2c3593e5034555434a59b1637b1eb2af}{Qore\+::zzz8datezzz9\+::seconds()}
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxylink{class_qore_1_1zzz8datezzz9_a51af864148656e9fe7dd6e9bc1aba1df}{Qore\+::zzz8datezzz9\+::duration\+Seconds\+Float()}
\item \doxylink{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476}{Qore\+::zzz8datezzz9\+::duration\+Milliseconds()}
\item \doxylink{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c}{Qore\+::zzz8datezzz9\+::duration\+Microseconds()}
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+7 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_a51af864148656e9fe7dd6e9bc1aba1df}\label{class_qore_1_1zzz8datezzz9_a51af864148656e9fe7dd6e9bc1aba1df} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!durationSecondsFloat@{durationSecondsFloat}}
\index{durationSecondsFloat@{durationSecondsFloat}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{durationSecondsFloat()}{durationSecondsFloat()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::zzz8datezzz9\+::duration\+Seconds\+Float (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a floating-\/point value representing the the number of seconds of duration in the value of the date passed (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) 

The duration in seconds is calculated and any fractional seconds are returned as digits to the right of the decimal point.

\begin{DoxyReturn}{Returns}
a floating-\/point vaaue representing the the number of seconds of duration in the value of the date passed; if the argument is a \doxysectlink{basic_data_types_relative_dates}{relative date}{2}, the value is normalized to seconds and the floating-\/point seconds value is returned with microseconds providing the digits to the right of the decimal place, if the argument is an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2}, the duration in seconds is calculated from the present time; so if the present time is sent as an argument, 0 is returned, if a future date is used, the number of seconds from the present time to the future date is returned, if an \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} in the past is passed as an argument, also 0 is returned (the function does not calculate second differences for \doxysectlink{basic_data_types_absolute_dates}{absolute dates}{2} in the past (for this use \doxylink{date_time_arithmetic}{Date/\+Time Arithmetic} instead); this function can only return a negative value if passed a relative date/time value
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float\ dt\ =\ PT2M15S3u.durationSecondsFloat();\ \textcolor{comment}{\#\ returns\ 135.000003}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_gac96ed9dc0e5436a5f77c7fbeb5c5842e}{get\+\_\+duration\+\_\+seconds\+\_\+f()}
\item to get the literal seconds integer value from a date/time value without calculating a duration, use \doxylink{class_qore_1_1zzz8datezzz9_a2c3593e5034555434a59b1637b1eb2af}{Qore\+::zzz8datezzz9\+::seconds()}
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxylink{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f}{Qore\+::zzz8datezzz9\+::duration\+Seconds()}
\item \doxylink{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476}{Qore\+::zzz8datezzz9\+::duration\+Milliseconds()}
\item \doxylink{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c}{Qore\+::zzz8datezzz9\+::duration\+Microseconds()}
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_aeff0dd69a9ef8f228b54ba5543b2e3c6}\label{class_qore_1_1zzz8datezzz9_aeff0dd69a9ef8f228b54ba5543b2e3c6} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!format@{format}}
\index{format@{format}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{format()}{format()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} Qore\+::zzz8datezzz9\+::format (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{format }\end{DoxyParamCaption})}



Returns a formatted string for the date value. 

\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em format} & a string giving the format for the date; see \doxysectlink{group__date__and__time__functions_date_formatting}{Date Formatting Codes}{1} for more information about this string\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a formatted string for a date argument passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{string\ str\ =\ d.format(\textcolor{stringliteral}{"{}Day,\ Mon\ D,\ YYYY-\/MM-\/DD\ HH:mm:SS"{}});}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000008}{Bug}}]there is no locale support; day and month names and abbreviations are only returned in English\end{DoxyRefDesc}


\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_gad5572fcb49964bfe3005e144da579361}{format\+\_\+date(string, date)} 
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_a61fbd9f6e28a6af34d666ecb7b0bdad2}\label{class_qore_1_1zzz8datezzz9_a61fbd9f6e28a6af34d666ecb7b0bdad2} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!getEpochSeconds@{getEpochSeconds}}
\index{getEpochSeconds@{getEpochSeconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{getEpochSeconds()}{getEpochSeconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::get\+Epoch\+Seconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the number of seconds since the start of the epoch (1970-\/01-\/01Z) for the current date for \doxysectlink{basic_data_types_absolute_dates}{absolute date/time values}{2}; returns 0 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. 

\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ secs\ =\ d.getEpochSeconds();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
the number of seconds since the start of the epoch (1970-\/01-\/01Z) for the current date for \doxysectlink{basic_data_types_absolute_dates}{absolute date/time values}{2}; returns 0 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}
\end{DoxyReturn}
\begin{DoxySince}{Since}
Qore 0.\+8.\+8 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_ac7dff505bad9f169f79215cdd3f368dc}\label{class_qore_1_1zzz8datezzz9_ac7dff505bad9f169f79215cdd3f368dc} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!getEpochSecondsLocalTime@{getEpochSecondsLocalTime}}
\index{getEpochSecondsLocalTime@{getEpochSecondsLocalTime}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{getEpochSecondsLocalTime()}{getEpochSecondsLocalTime()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::get\+Epoch\+Seconds\+Local\+Time (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the number of seconds since the start of the epoch (1970-\/01-\/01) for the current date in the local time zone for \doxysectlink{basic_data_types_absolute_dates}{absolute date/time values}{2}; returns 0 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. 

\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ secs\ =\ d.getEpochSecondsLocalTime();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
the number of seconds since the start of the epoch (1970-\/01-\/01) for the current date in the local time zone for \doxysectlink{basic_data_types_absolute_dates}{absolute date/time values}{2}; returns 0 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}
\end{DoxyReturn}
\begin{DoxySince}{Since}
Qore 0.\+8.\+8 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_a281e6ff94edaf0a601e604bca2dc52f7}\label{class_qore_1_1zzz8datezzz9_a281e6ff94edaf0a601e604bca2dc52f7} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!getUtcOffset@{getUtcOffset}}
\index{getUtcOffset@{getUtcOffset}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{getUtcOffset()}{getUtcOffset()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::get\+Utc\+Offset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the time zone offset for the current time in seconds east of UTC or -\/1 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. 

\begin{DoxyReturn}{Returns}
the time zone offset for the current time in seconds east of UTC or -\/1 for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ utcoffset\ =\ d.getUtcOffset();}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_a020025625850084710c7eddd0fa2ab51}\label{class_qore_1_1zzz8datezzz9_a020025625850084710c7eddd0fa2ab51} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!hours@{hours}}
\index{hours@{hours}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{hours()}{hours()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::hours (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal hour value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal hour value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.hours();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga83e582adb5ad1401911345ba306dabd2}{get\+\_\+hours(date)} 
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_a8570798c5d3d8273e45af77bd1817a3e}\label{class_qore_1_1zzz8datezzz9_a8570798c5d3d8273e45af77bd1817a3e} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!info@{info}}
\index{info@{info}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{info()}{info()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga24ee71727f0785d3b826833ed6f5e2ee}{hash}}$<$ \mbox{\hyperlink{struct_qore_1_1_date_time_info}{Date\+Time\+Info}} $>$ Qore\+::zzz8datezzz9\+::info (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a \doxylink{struct_qore_1_1_date_time_info}{Date\+Time\+Info} hash for the date (can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date) 

\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{hash<DateTimeInfo>\ h\ =\ d.info(date);}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
a \doxylink{struct_qore_1_1_date_time_info}{Date\+Time\+Info} hash for the given date argument
\end{DoxyReturn}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga1c2a86badef767277a64c5b8bb35ce00}{date\+\_\+info(date)}
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+8 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_aa834702a304a20d6443014ae09e73be9}\label{class_qore_1_1zzz8datezzz9_aa834702a304a20d6443014ae09e73be9} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!intp@{intp}}
\index{intp@{intp}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{intp()}{intp()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} Qore\+::zzz8datezzz9\+::intp (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxysectlink{basic_data_types_True}{True}{2} because date values can be converted to integers. 

\begin{DoxyReturn}{Returns}
\doxysectlink{basic_data_types_True}{True}{2} because date values can be converted to integers
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if}\ (n.intp())}
\DoxyCodeLine{\ \ \ \ printf(\textcolor{stringliteral}{"{}\%y:\ can\ be\ converted\ to\ an\ integer:\ \%d\(\backslash\)n"{}},\ n,\ int(n));}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_a657e9b7211b84a2f9df8f3ccb5b91ffb}\label{class_qore_1_1zzz8datezzz9_a657e9b7211b84a2f9df8f3ccb5b91ffb} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!isDst@{isDst}}
\index{isDst@{isDst}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{isDst()}{isDst()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} Qore\+::zzz8datezzz9\+::is\+Dst (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxysectlink{basic_data_types_True}{True}{2} if the current date/time value is currently in daylight savings time. 

\begin{DoxyReturn}{Returns}
\doxysectlink{basic_data_types_True}{True}{2} if the current date/time value is currently in daylight savings time; always returns \doxysectlink{basic_data_types_False}{False}{2} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{bool\ b\ =\ d.isDst();}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_ad38a12c3b55fab4825bbb7d6125df1e5}\label{class_qore_1_1zzz8datezzz9_ad38a12c3b55fab4825bbb7d6125df1e5} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!isoDayOfWeek@{isoDayOfWeek}}
\index{isoDayOfWeek@{isoDayOfWeek}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{isoDayOfWeek()}{isoDayOfWeek()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::iso\+Day\+Of\+Week (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer representing the ISO-\/8601 day of the week for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} value (1=Monday, 7=Sunday) 

\begin{DoxyReturn}{Returns}
an integer representing the day of the week for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} passed (1=Monday, 7=Sunday); if a \doxysectlink{basic_data_types_relative_dates}{relative date}{2} value is used, then this method will return 7
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ dn\ =\ dt.isoDayOfWeek();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga64bfe13c03c1b2746bfb5c80f5279e2a}{Qore\+::get\+\_\+iso\+\_\+day\+\_\+of\+\_\+week()}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxylink{class_qore_1_1zzz8datezzz9_a776388307af89346ac4456a09d8fb22d}{Qore\+::zzz8datezzz9\+::day\+Of\+Week()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_ad8c2c004a04ac7db6427f3e158d7400b}\label{class_qore_1_1zzz8datezzz9_ad8c2c004a04ac7db6427f3e158d7400b} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!isoWeekHash@{isoWeekHash}}
\index{isoWeekHash@{isoWeekHash}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{isoWeekHash()}{isoWeekHash()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga24ee71727f0785d3b826833ed6f5e2ee}{hash}}$<$ \mbox{\hyperlink{struct_qore_1_1_iso_week_info}{Iso\+Week\+Info}} $>$ Qore\+::zzz8datezzz9\+::iso\+Week\+Hash (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an \doxylink{struct_qore_1_1_iso_week_info}{Iso\+Week\+Info} hash representing the ISO-\/8601 calendar week information for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} (hash keys\+: {\ttfamily "{}year"{}}, {\ttfamily "{}week"{}}, {\ttfamily "{}day"{}}) 

\begin{DoxyNote}{Note}
that the ISO-\/8601 year does not always correspond with the calendar year at the end and the beginning of every year (for example 2006-\/01-\/01 in ISO-\/8601 calendar week format is\+: year=2005, week=52, day=7)
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
an \doxylink{struct_qore_1_1_iso_week_info}{Iso\+Week\+Info} hash representing the ISO-\/8601 calendar week information for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} (hash keys\+: {\ttfamily "{}year"{}}, {\ttfamily "{}week"{}}, {\ttfamily "{}day"{}}); if a \doxysectlink{basic_data_types_relative_dates}{relative date}{2} value is used, then this method will return year=1970, week=1, day=1
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{hash<IsoWeekInfo>\ h\ =\ 2007-\/05-\/15.isoWeekHash();\ \textcolor{comment}{\#\ returns\ year=2007,\ week=20,\ day=2}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga8cfd46ea9e98be647d8206732a63c1d9}{Qore\+::get\+\_\+iso\+\_\+week\+\_\+hash()}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxylink{class_qore_1_1zzz8datezzz9_aa03daafa0fe01dfa0abf447d8ca135fd}{Qore\+::zzz8datezzz9\+::iso\+Week\+String()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_aa03daafa0fe01dfa0abf447d8ca135fd}\label{class_qore_1_1zzz8datezzz9_aa03daafa0fe01dfa0abf447d8ca135fd} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!isoWeekString@{isoWeekString}}
\index{isoWeekString@{isoWeekString}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{isoWeekString()}{isoWeekString()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} Qore\+::zzz8datezzz9\+::iso\+Week\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a string representing the ISO-\/8601 calendar week information for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} (ex\+: 2006-\/01-\/01 = "{}2005-\/\+W52-\/7"{}) 

\begin{DoxyReturn}{Returns}
a string representing the ISO-\/8601 calendar week information for the \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} (ex\+: 2006-\/01-\/01 = "{}2005-\/\+W52-\/7"{}); if a \doxysectlink{basic_data_types_relative_dates}{relative date}{2} value is used, then this method will return {\ttfamily "{}1970-\/\+W01-\/1"{}} 
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{string\ str\ =\ 2007-\/05-\/15.isoWeekString();\ \textcolor{comment}{\#\ returns\ "{}2007-\/W20-\/2"{}}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_gadfb87ebf695f7e037efb64367cdb6626}{Qore\+::get\+\_\+iso\+\_\+week\+\_\+string()}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxylink{class_qore_1_1zzz8datezzz9_ad8c2c004a04ac7db6427f3e158d7400b}{Qore\+::zzz8datezzz9\+::iso\+Week\+Hash()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_aacf57fbebe79940acf8012374393efa5}\label{class_qore_1_1zzz8datezzz9_aacf57fbebe79940acf8012374393efa5} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!microseconds@{microseconds}}
\index{microseconds@{microseconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{microseconds()}{microseconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::microseconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal microsecond value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal microsecond value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.microseconds();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_ga8ae5ae186ff94fc2033ee0f6f308688a}{get\+\_\+microseconds(date)}
\item to get the number of microseconds of duration in a date/time value, use \doxylink{class_qore_1_1zzz8datezzz9_afd98bf51bd4870ddc8469e0bc19f2b9c}{Qore\+::zzz8datezzz9\+::duration\+Microseconds()} instead 
\end{DoxyItemize}
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_a1946f38ad9528c2e80552b8e2bc39f62}\label{class_qore_1_1zzz8datezzz9_a1946f38ad9528c2e80552b8e2bc39f62} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!midnight@{midnight}}
\index{midnight@{midnight}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{midnight()}{midnight()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__date__and__time__functions_gaa80ee453b6a5653ac685d7e290c74e3f}{date}} Qore\+::zzz8datezzz9\+::midnight (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns midnight on the given date (strips the time component on the new value) 

\begin{DoxyReturn}{Returns}
midnight on the given date (strips the time component on the new value)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{date\ midnight\ =\ dt.midnight();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga15e3b79ea0fabd6d544398e9c6d849bf}{get\+\_\+midnight()}
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+5 
\end{DoxySince}
\Hypertarget{class_qore_1_1zzz8datezzz9_a3c9429701ac6b58b051352abf153b735}\label{class_qore_1_1zzz8datezzz9_a3c9429701ac6b58b051352abf153b735} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!milliseconds@{milliseconds}}
\index{milliseconds@{milliseconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{milliseconds()}{milliseconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::milliseconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal millisecond value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal millisecond value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.milliseconds();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_gaabefaf27c91bdc7bf6ffa50b391279ea}{get\+\_\+milliseconds(date)}
\item to get the number of milliseconds of duration in a date/time value, use \doxylink{class_qore_1_1zzz8datezzz9_a0a1bf587b81314cbc5cbabd4cc618476}{Qore\+::zzz8datezzz9\+::duration\+Milliseconds()} instead 
\end{DoxyItemize}
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_abac32dbfcda338145542f5dd5ddd37af}\label{class_qore_1_1zzz8datezzz9_abac32dbfcda338145542f5dd5ddd37af} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!minutes@{minutes}}
\index{minutes@{minutes}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{minutes()}{minutes()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::minutes (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal minute value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal minute value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.minutes();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga4dbc1e7f615407a2aaa60610e03cf1ea}{get\+\_\+minutes(date)} 
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_a75eb73a84fad87f7b94e932d3afb929a}\label{class_qore_1_1zzz8datezzz9_a75eb73a84fad87f7b94e932d3afb929a} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!months@{months}}
\index{months@{months}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{months()}{months()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::months (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal month value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal month value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.months();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga6a37327d1be86abe99b29c133c3fd0bc}{get\+\_\+months(date)} 
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_a950a764a23c240b3aa49ccb335538a65}\label{class_qore_1_1zzz8datezzz9_a950a764a23c240b3aa49ccb335538a65} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!relative@{relative}}
\index{relative@{relative}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{relative()}{relative()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} Qore\+::zzz8datezzz9\+::relative (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxysectlink{basic_data_types_True}{True}{2} if the date is a \doxysectlink{basic_data_types_relative_dates}{relative date/time value}{2}. 

\begin{DoxyReturn}{Returns}
\doxysectlink{basic_data_types_True}{True}{2} if the date is a \doxysectlink{basic_data_types_relative_dates}{relative date/time value}{2}
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{bool\ b\ =\ d.relative();}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_a2c3593e5034555434a59b1637b1eb2af}\label{class_qore_1_1zzz8datezzz9_a2c3593e5034555434a59b1637b1eb2af} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!seconds@{seconds}}
\index{seconds@{seconds}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{seconds()}{seconds()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::seconds (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal second value in the date (does not calculate a duration) 

The date value can be either a \doxysectlink{basic_data_types_relative_dates}{relative}{2} or \doxysectlink{basic_data_types_absolute_dates}{absolute}{2} date.

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal second value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.seconds();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item equivalent to \doxylink{group__date__and__time__functions_ga8872de33c58a5b4a2ffe01818f226f48}{get\+\_\+seconds(date)}
\item to get the number of seconds of duration in a date/time value, use \doxylink{class_qore_1_1zzz8datezzz9_aef0e1961cbf4e1f2b53b789d0727681f}{Qore\+::zzz8datezzz9\+::duration\+Seconds()} instead 
\end{DoxyItemize}
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_ad7e86f987c8889fde5c36cf1fbc8b0d3}\label{class_qore_1_1zzz8datezzz9_ad7e86f987c8889fde5c36cf1fbc8b0d3} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!strp@{strp}}
\index{strp@{strp}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{strp()}{strp()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} Qore\+::zzz8datezzz9\+::strp (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxysectlink{basic_data_types_True}{True}{2} because boolean values can be converted to strings. 

\begin{DoxyReturn}{Returns}
\doxysectlink{basic_data_types_True}{True}{2} because boolean values can be converted to strings
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if}\ (n.strp())}
\DoxyCodeLine{\ \ \ \ printf(\textcolor{stringliteral}{"{}\%y:\ can\ be\ converted\ to\ a\ string:\ '\%s'\(\backslash\)n"{}},\ n,\ string(n));}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_a7167b9d2407c8a6448f53e3ebc1670a1}\label{class_qore_1_1zzz8datezzz9_a7167b9d2407c8a6448f53e3ebc1670a1} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!typeCode@{typeCode}}
\index{typeCode@{typeCode}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{typeCode()}{typeCode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::type\+Code (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxylink{group__type__code__constants_ga230aa338eb63ada8096e318095f8052c}{Qore\+::\+NT\+\_\+\+DATE}. 

\begin{DoxyReturn}{Returns}
\doxylink{group__type__code__constants_ga230aa338eb63ada8096e318095f8052c}{Qore\+::\+NT\+\_\+\+DATE}
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{switch\ (d.typeCode())\ \{}
\DoxyCodeLine{\ \ \ \ case\ NT\_DATE:}
\DoxyCodeLine{\ \ \ \ \ \ \ \ printf(\textcolor{stringliteral}{"{}\%y:\ is\ a\ date\(\backslash\)n"{}},\ d);}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{\}}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{class_qore_1_1zzz8datezzz9_a798148fc6daeaf36a5413d731cab40e6}\label{class_qore_1_1zzz8datezzz9_a798148fc6daeaf36a5413d731cab40e6} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!val@{val}}
\index{val@{val}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{val()}{val()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bool}} Qore\+::zzz8datezzz9\+::val (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \doxysectlink{basic_data_types_False}{False}{2} if the date value is all zeros, \doxysectlink{basic_data_types_True}{True}{2} if not. 

\begin{DoxyReturn}{Returns}
\doxysectlink{basic_data_types_False}{False}{2} if the date value is all zeros, \doxysectlink{basic_data_types_True}{True}{2} if not
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{bool\ b\ =\ d.val();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxysectlink{parse_directives_perl-bool-eval}{\%perl-\/bool-\/eval}{1}
\item \doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1} 
\end{DoxyItemize}
\end{DoxySeeAlso}
\Hypertarget{class_qore_1_1zzz8datezzz9_ab52a41f7b16ad2b9115dd1ae05e0b21c}\label{class_qore_1_1zzz8datezzz9_ab52a41f7b16ad2b9115dd1ae05e0b21c} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!years@{years}}
\index{years@{years}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{years()}{years()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8datezzz9\+::years (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an integer corresponding to the literal year value in the date (does not calculate a duration) 

\begin{DoxyReturn}{Returns}
an integer corresponding to the literal year value in the date (does not calculate a duration)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int\ n\ =\ d.years();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \doxylink{group__date__and__time__functions_ga730632dedaa1b9cef875a5a12861f1d1}{get\+\_\+years(date)} 
\end{DoxyNote}
\Hypertarget{class_qore_1_1zzz8datezzz9_a4a7478124248ca3f481e52598244e2ae}\label{class_qore_1_1zzz8datezzz9_a4a7478124248ca3f481e52598244e2ae} 
\index{Qore::zzz8datezzz9@{Qore::zzz8datezzz9}!zone@{zone}}
\index{zone@{zone}!Qore::zzz8datezzz9@{Qore::zzz8datezzz9}}
\doxysubsubsection{\texorpdfstring{zone()}{zone()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\+\_\+\+\_\+7\+\_\+}} \mbox{\hyperlink{class_qore_1_1_time_zone}{Time\+Zone}} Qore\+::zzz8datezzz9\+::zone (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a \doxylink{class_qore_1_1_time_zone}{Qore\+::\+Time\+Zone} object for the time zone of the date/time value; returns \doxysectlink{basic_data_types_nothing}{NOTHING}{1} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}. 

\begin{DoxyReturn}{Returns}
a \doxylink{class_qore_1_1_time_zone}{Qore\+::\+Time\+Zone} object for the time zone of the date/time value; returns \doxysectlink{basic_data_types_nothing}{NOTHING}{1} for \doxysectlink{basic_data_types_relative_dates}{relative date/time values}{2}
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\doxysectlink{code_flags_CONSTANT}{CONSTANT}{1}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{*TimeZone\ zone\ =\ d.zone();}

\end{DoxyCode}
 
\end{DoxyParagraph}
