473,387 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Current Date Appears as 06/24/1894

I have an unbound text box on an unbound form. I have its default value set
to =Date(). The format row under properties says mm/dd/yyyy. It is totally
unbound to anything. But rather than today's date it says 06/24/1894.

Why is it doing this?

LRH
Nov 13 '05 #1
2 2042
Larry, Works fine for me. You need to make sure your Regional Settings are
set correctly. This can be found in the Control Panel.

--
Reggie

----------
"Larry R Harrison Jr" <no***@noone.com> wrote in message
news:adTLc.15553$Wv4.8458@okepread03...
I have an unbound text box on an unbound form. I have its default value set to =Date(). The format row under properties says mm/dd/yyyy. It is totally
unbound to anything. But rather than today's date it says 06/24/1894.

Why is it doing this?

LRH

Nov 13 '05 #2
Have you checked the date setting on your computer? Perhaps that got set to
the 1894 date. Have you checked to make certain sure that you do not have a
function of your own named Date?

"Larry R Harrison Jr" wrote
I have an unbound text box on an unbound form.
I have its default value set to =Date(). The format
row under properties says mm/dd/yyyy. It is totally
unbound to anything. But rather than today's date
it says 06/24/1894.


There's nothing inherent to unbound text boxes on an unbound form with a
default of "=Date()" and a format of "mm/dd/yyyy". Just to make certain
sure... can't remember using an unbound field with that default and
format... and in Access 2002 on my machine, it returned, as expected,
"07/22/2004".

My Access 2002 is up-to-date with all Service Releases, as is my Jet 4.0.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: deko | last post by:
This runs, but does not narrow to current week. suggestions appreciated! SELECT lngEid, dtmApptDate, Subject, Appt_ID FROM qry002 WHERE (dtmApptDate BETWEEN DateAdd("d",-weekday()+2,) And...
3
by: Damian | last post by:
Hi everyone I'm having an issue with one of our applications. I'm getting the following error when attempting to log in to the site: Server Error in 'xxxxxxxxxxxxxxxx' Application....
7
by: James P. | last post by:
Hello there, In my asp.net page using VB, I have a date text field in mm/dd/yyyy format. When a date is entered, I'd like to validate it to make sure the date is greater than or equal to the...
6
by: vijayk | last post by:
Hi all, I have a field which has data as YYYYMMDD, and I have to find the age of the person by substracting it from current date. can you please please advice... thanks
14
by: YiMkiE | last post by:
I am a newbie of C and I need to do a program to get the current date information only, without the time. I have my code here: #include <stdio.h> #include <time.h> #include <string.h> int...
0
by: Shawger Lager | last post by:
Hi, I am new to DB2 (and SQL) and I am having some problems with the current date. I am trying to make sure the date in the table review is not past the current day using a constriant. I have tried...
7
by: sharmilah | last post by:
Hi all It's me again. I now want to specify the current date in the format '26/06/2007' ie date/month/year as the default value in my mysql database. Which implies that by default the value of my...
5
by: bruce24444 | last post by:
I have a database which assigns warranty claims to people with a main screen showing number of files assigned to each person. The number assigned shows day, week, month and year numbers so they can...
4
MrMancunian
by: MrMancunian | last post by:
Hi, I'm trying to insert some data in a table in SQL Server 2005, including a date. When I insert 29-07-2008 in the datetime field, it saves it as 25-7-1894 0:00:00. Can anyone tell me why it's...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.