Current Date and Time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

How do I add the Current date and time on a form? I also would like to add
the calender for 2005, divided into subforms of months displaying on one
screen every day for say, the month of May on the screen with all the days
listed underneath. I want to use this by entering some text next to each day,
almost like a diary, but I want to display only the current month at a time.
After the month it must automatically display the calender for the next month.

Thanks!
 
1. The Current Date and time you would get with NOW(the actual time with
date) or DATE (if you only need the date):
For example:
Private Sub Form_Open(Cancel As Integer)
Me.NameOfYourTextbox = Now
End Sub

2. For handling with the calendar your would found a sample here:
http://www.mvps.org/access/downloads/Calendar_pg.zip

Greets

Kai Apel (Germnny - Berlin)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top