Hi,
I am trying to develop a database that will store dates in the format -
21.02.2006 rather than the standard 21/02/2006.
This is because of the SAP feeds that i am pulling in - since SAP
stores dates as dd.mm.yyyy
I would just store the dates as text but this makes processing the data
much harder.
Does anyone have any suggestions?
Regards
Andrew Paton 3 2457 an****@playdar.co.uk wrote:
Hi,
I am trying to develop a database that will store dates in the format -
21.02.2006 rather than the standard 21/02/2006.
This is because of the SAP feeds that i am pulling in - since SAP
stores dates as dd.mm.yyyy
I would just store the dates as text but this makes processing the data
much harder.
Does anyone have any suggestions?
Regards
Andrew Paton
You can use a custom format for the dates.
SELECT tblTableName.FldDates, Format([FldDates],"dd\.mm\.yyyy") AS
NewDate
FROM tblTableName;
Ok,
Its not the displaying that was the problem - it was mainly the problem
of inputting the data - see all of our staff use SAP on a regular basis
so it is second nature to type the date in the format dd.mm.yyyy -
whereas it will be stored in the database int the format dd/mm/yyyy - i
cant get an input mask to give me the right result! Any ideas?
Tanis wrote:
an****@playdar.co.uk wrote:
Hi,
I am trying to develop a database that will store dates in the format -
21.02.2006 rather than the standard 21/02/2006.
This is because of the SAP feeds that i am pulling in - since SAP
stores dates as dd.mm.yyyy
I would just store the dates as text but this makes processing the data
much harder.
Does anyone have any suggestions?
Regards
Andrew Paton
You can use a custom format for the dates.
SELECT tblTableName.FldDates, Format([FldDates],"dd\.mm\.yyyy") AS
NewDate
FROM tblTableName;
Patonar wrote:
Ok,
Its not the displaying that was the problem - it was mainly the problem
of inputting the data - see all of our staff use SAP on a regular basis
so it is second nature to type the date in the format dd.mm.yyyy -
whereas it will be stored in the database int the format dd/mm/yyyy - i
cant get an input mask to give me the right result! Any ideas?
Tanis wrote:
an****@playdar.co.uk wrote:
Hi,
>
I am trying to develop a database that will store dates in the format -
21.02.2006 rather than the standard 21/02/2006.
>
This is because of the SAP feeds that i am pulling in - since SAP
stores dates as dd.mm.yyyy
>
I would just store the dates as text but this makes processing the data
much harder.
>
Does anyone have any suggestions?
>
Regards
>
Andrew Paton
You can use a custom format for the dates.
SELECT tblTableName.FldDates, Format([FldDates],"dd\.mm\.yyyy") AS
NewDate
FROM tblTableName;
If you are not bothered by the format, I would stick having an input
mask for short date. The users won't know any difference when inputting
as the input mask takes care of the placeholder. Change the format of
the field to Short Date and select Short Date as the input mask. You
can try to create your own input mask, but I have not been successful. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: deadlocklegend |
last post by:
Hi all,
when i set a date field's type (12) to VARCHAR2 or STRING, I get the
date (mm/dd/yyyy) correct, but I can never get the time which is always
set to 00:00:00 even if i increase the buffer...
|
by: Monica Roman |
last post by:
Hello all,
I have an Access database linked to SQL Server tables and Views.
When I upsized the Access tables all the yes/no fields remained the
same, i.e., I see a check mark or not. When I...
|
by: (PeteCresswell) |
last post by:
I'm currently presenting certain dates as YYYY/MM because Day=01 is understood.
YYYY-MM, however, looks cleaner to my eye.
But I can't get it to work with both .Format and .InputMask. They...
|
by: carriolan |
last post by:
Hi
I have a very simple problem indeed, but I am unable to solve it. I
am inputing a short date into an unbound text box with a short date
input mask. I am in the UK so my date format is...
|
by: Dave |
last post by:
Hello -
Say I have a 32 bit value in data (v:4, r:4, l:8, p:16)
unsigned char data;
Now, for portabilities sake, I want to use shifts and masks to access
these fields, instead of accessing...
|
by: keri |
last post by:
Hi,
I am creating a table where I want to use the date as the primary key -
and to automatically create a record for each working date (eg Mon to
Fri) until 30 June 2007. Is this possible? I do...
|
by: ARC |
last post by:
Hello all,
General question for back-end database that has numerous date fields where
the database will be used in regions that put the month first, and regions
that do not.
Should I save a...
|
by: Doug |
last post by:
Hi,
I created a short date field. The format is dd/mm/yyyy when displayed.
The input mask is set to 99/99/00;0 (default, I didn't type anything).
If I edit an existing date, say change...
|
by: katanah |
last post by:
I am using Access, 2003. I have an entry form (single form) with a date field. I would like the user to be able to enter:
115 08
and have Access store and display the date as:
11/05/08, even...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |