473,508 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3746
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
16281
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
1671
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
4470
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
4518
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
29422
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
3042
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
3428
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
7126
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
2085
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
1481
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
7118
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...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.