可能在now的属性下
datetime.now.day

解决方案 »

  1.   

    DateTime.Day 属性  [C#]请参见
    DateTime 结构 | DateTime 成员 | System 命名空间 | DateTime 成员(Visual J# 语法) | C++ 托管扩展编程 
    要求
    平台: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 系列, .NET Framework 精简版 - Windows CE .NET, 公共语言基础结构 (CLI) 标准
    语言
    C#C++JScriptVisual Basic全部显示
    获取此实例所表示的日期为该月中的第几天。[Visual Basic]
    Public ReadOnly Property Day As Integer[C#]
    public int Day {get;}[C++]
    public: __property int get_Day();[JScript]
    public function get Day() : int;属性值
    日期值(介于 1 和 31 之间)。