portableSql
MonthName Portable SQL Function
Syntax
MonthName as C (DateTime as D)
MonthName as C (DateTime as T)
Arguments
- DateTimeDate Time
A field or value.
Returns
- resultCharacter
Returns the month name from a date or datetime value.
Description
Extract the month name from a date or datetime value.
Discussion
The MonthName function extracts the month name from a date or datetime value.
MonthName() function executed on the Northwind Access database
SELECT FIRST 1 CurrentDateTime() AS Now, MonthName(CurrentDateTime()) AS Expr1 FROM Orders =10/10/2019 12:48:35 00 pm|October