VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00FFFFFF&
   Caption         =   "Дата"
   ClientHeight    =   1344
   ClientLeft      =   4296
   ClientTop       =   3144
   ClientWidth     =   6288
   BeginProperty Font 
      Name            =   "Times New Roman"
      Size            =   13.8
      Charset         =   204
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   ScaleHeight     =   1344
   ScaleWidth      =   6288
   Begin VB.CommandButton cmd1 
      Caption         =   "Дата"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.2
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   432
      Left            =   2400
      TabIndex        =   0
      Top             =   840
      Width           =   1572
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim dtmA, dtmB As Date
Sub cmd1_Click()
dtmA = Date
dtmB = #1/1/2001#
Print "Сегодня  "; dtmA
Print "С начала третьего тысячелетия прошло"; dtmA - dtmB; "дней"
End Sub


