Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Looking for example pivot year code used in Y2K

Posted on 2016-10-19
4
70 Views
Last Modified: 2016-10-23
I need to explain Y2K pivot year code and I am looking for an example.
0
Comment
Question by:Alex972
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
PatHartman earned 500 total points
ID: 41850808
I think that what you are talking about is what logic does Access use to determine the century when you enter only two digits of year.  The pivot is 29.  So 00-29 default to the 21st century and 30-99 default to the twentieth.

1/1/29 is assumed to be 1/1/2019
1/1/30 is assumed to be 1/1/1930
1
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 41850852
^Yes, also true for Excel.  Up to 12/31/29, the internal date is stored as year 2029 (47483).  On 1/1/30, it is stored as year 1930 (10959).

No points for me; just adding to @PatHartman 's post.
0
 
LVL 35

Expert Comment

by:PatHartman
ID: 41850968
I would also add that years should be displayed as four digits, especially in apps where you will commonly have 20th century and 21st century dates.  If for space reasons you need to limit to 2-digit years, I would suggest a conditional formatting rule that makes the date red if it is 20th century.
1
 
LVL 1

Author Closing Comment

by:Alex972
ID: 41856191
Thanks
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question