NAnt SDK Documentation - v0.92 |

# DateTimeFunctions.Now Method

Gets a DateTime that is the current local date and time on this computer.

[Visual Basic]
<Function(Name:="now")>
Public Shared Function Now() As Date
[C#]
[Function(Name="now")]
public static DateTime Now();

#### Return Value

A DateTime whose value is the current date and time.

#### See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace