返回给定 DateTime 实例的月份值。
命名空间: System.Data.Services.Providers
程序集: Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)
语法
声明
Public Shared Function Month ( _
dateTime As Object _
) As Object
用法
Dim dateTime As Object
Dim returnValue As Object
returnValue = OpenTypeMethods.Month(dateTime)
public static Object Month(
Object dateTime
)
public:
static Object^ Month(
Object^ dateTime
)
static member Month :
dateTime:Object -> Object
public static function Month(
dateTime : Object
) : Object
参数
- dateTime
类型:System.Object
DateTime 对象。
返回值
类型:System.Object
给定 DateTime 实例的月份值。