473,385 Members | 1,863 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,385 software developers and data experts.

set date to a 6 digit format

I set the input mask for the date field to "00/00/00;0_" but instead of
showing a 6 digit date such as 01/01/06, I receive 01/01/2006 an 8
digit date!

Is there a manner in which I can over ride this?...In the table
containing this date field? Or by way of the textbox control in which
the date is entered on my subform?

Thanks!,

jmarr02s

Nov 15 '06 #1
2 3738
jmarr02s wrote:
I set the input mask for the date field to "00/00/00;0_" but instead
of showing a 6 digit date such as 01/01/06, I receive 01/01/2006 an 8
digit date!

Is there a manner in which I can over ride this?...In the table
containing this date field? Or by way of the textbox control in which
the date is entered on my subform?

Thanks!,

jmarr02s
Dates are always stored exactly the same way. Formatting only controls how
they are displayed and InputMasks only control how they are entered.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Nov 15 '06 #2
jmarr02s wrote:
I set the input mask for the date field to "00/00/00;0_" but instead of
showing a 6 digit date such as 01/01/06, I receive 01/01/2006 an 8
digit date!

Is there a manner in which I can over ride this?...In the table
containing this date field? Or by way of the textbox control in which
the date is entered on my subform?

Thanks!,

jmarr02s
The input mask if for entering the data, not how it's displayed. Set
the format to mm/dd/yy in the property sheet of the form or the table.
Nov 15 '06 #3

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

Similar topics

5
by: goochey | last post by:
I'm trying to convert a Julian Date (Format "4365") into an actual calendar date in Visual Basic, can anyone help me out with this.
2
by: Abby Lee | last post by:
http://www.apriori-it.co.uk/FormatDate.asp I found the above date format script while doing a search. it works fine except with the format mm/dd/yyyy. Type in 01/02/03 and hit the "format date"...
4
by: Tony | last post by:
Hey guys, I use Google Groups quite a bit as it is an enormous wealth of information, and now I need some help. I have created a query using parameters to capture a range of date, the date is...
1
by: Ian | last post by:
I have a report that shows a date along with many other fields, I am trying to keep this date field as small as possible to make room for other fields so I want it to be a 6 digit date. My...
12
by: Assimalyst | last post by:
Hi, I have a working script that converts a dd/mm/yyyy text box date entry to yyyy/mm/dd and compares it to the current date, giving an error through an asp.net custom validator, it is as...
7
by: Middletree | last post by:
I am trying to display dates in a spreadsheet, but the dates need to be in a format that will allow them to be sorted in Excel. The datatype in the SQL Server database is datetime. In this case, I...
3
by: dave | last post by:
I need to compute an expiration date based on the number of hours, days, or months purchased. The expiration date needs to be expressed in minutes something like '1260481600'. How can I get the...
3
by: Jef Driesen | last post by:
How can I convert a date string to a number (e.g. a time_t value or a tm struct)? I know about the strptime function, but then I have to know the format string. And that is a problem. I'm trying...
7
by: creative1 | last post by:
Hello everyone. I am experiencing a strange problem that I can't fix on my own. I think I need expert's suggestions for this. The problem is: I want to print account statement (or any other...
5
by: cmdolcet69 | last post by:
How can i format a Julian day and only the single digit in the year. I only wnat the julian day and the last digit of the year (7) For example the code below i thought would do this however i...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.