# Function Reference

# _NowTime

Returns the current Time in the requested format

#include <Date.au3>
_NowTime ( [$sType = 3] )

## Parameters

$sType | [optional] 3 = (default) Display a time using the time format specified in your computer's regional settings. 4 - Display a time using the 24-hour format (hh:mm). 5 - Display a time using the 24-hour format (hh:mm:ss).

## Return Value

Returns the current TIME according to the time format used.

## Remarks

If your computer's regional settings is not accessible it returns the time in the "h:mm:ss tt" format.

## Related

_DateTimeFormat, _Now, _NowCalc, _NowCalcDate, _NowDate

## Example

    #include <Date.au3>
    #include <MsgBoxConstants.au3>

    MsgBox($MB_SYSTEMMODAL, '', "The time is:" & _NowTime())