![]() |
ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Generate and return the current 12-hour-clock local hour of the current day of the Gregorian calendar. More...
Generate and return the current 12-hour-clock local hour of the current day of the Gregorian calendar.
[in] | hour | : The input scalar or array of arbitrary shape of type integer of default kind IK containing the 24-hour-clock to be converted to a 12-hour-clock hour.(optional, default = getHour()) |
hour
: The output scalar or array of the same rank, shape and size as the input hour
, of the same type and kind as hour
, containing the input hour
converted to 12-hour-clock hour.
Possible calling interfaces ⛓
pure
procedure(s) documented herein become impure
when the ParaMonte library is compiled with preprocessor macro CHECK_ENABLED=1
.pure
in release
build and impure
in debug
and testing
builds. The procedures under this generic interface are always impure
when the input argument hour
is missing.elemental
when the input argument hour
is present.
Example usage ⛓
ifort
compiler ⛓ ifort
compiler ⛓ gfortran
compiler ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 1335 of file pm_dateTime.F90.