Date code что это
data code — duomenų kodas statusas T sritis automatika atitikmenys: angl. data code vok. Datencode, m rus. код данных, m pranc. code de données, m … Automatikos terminų žodynas
data code — A number, letter, character, or any combination thereof used to represent a data element or data item … Military dictionary
Code injection — is the exploitation of a computer bug that is caused by processing inval >Wikipedia
code de données — duomenų kodas statusas T sritis automatika atitikmenys: angl. data code vok. Datencode, m rus. код данных, m pranc. code de données, m … Automatikos terminų žodynas
Data, context and interaction — (DCI) is a paradigm used in computer software to program systems of communicating objects. Its goals are: To improve the readability of object oriented code by giving system behavior first >Wikipedia
Data transformation — Data transformation/Source transformation Concepts metadata · data mapping data transformation · model transf … Wikipedia
Code — redirects here. CODE may also refer to Cultural Olympiad Digital Edition. Decoded redirects here. For the television show, see Brad Meltzer s Decoded. For code (computer programming), see source code. For other uses, see Code (disambiguation).… … Wikipedia
Data-centric programming language — defines a category of programming languages where the primary function is the management and manipulation of data. A data centric programming language includes built in processing primitives for accessing data stored in sets, tables, lists, and… … Wikipedia
Data Execution Prevention — (DEP) is a security feature included in modern operating systems. It is known to be available in Linux, Mac OS X, and Microsoft Windows operating systems and is intended to prevent an application or service from executing code from a non… … Wikipedia
Data integration — involves combining data res >Wikipedia
Data sharing — is the practice of making data used for scholarly research available to other investigators. Replication has a long history in science. The motto of The Royal Society is Nullius in verba , translated Take no man s word for it. [1] Many funding… … Wikipedia
Сегодня жесткие диски являются незаменимым элементом любой компьютерной техники, позволяющие накапливать и хранить важную информацию для пользователя. При этом каждый жесткий диск имеет свой эксплуатационный срок, которого следует придерживаться, чтобы не потерять важные данные. При этом каждый производитель по-своему зашифровывает дату производства. Например, жесткий диск Seagate всю необходимую информацию имеет на специальной наклейке, которая содержится непосредственно на верхней панели диска.
HDD Seagate — как узнать дату его изготовления

Небольшой лайфхак для тех, кто работает с компьютерным железом. На самом деле — небольшой. Я уже не один десяток лет работаю на компьютерном поприще, но как-то раньше меня этот вопрос не касался. Но, вот настал момент — и коснулось…
Кратенько опишу суть проблемы. Скопилось у меня некоторое количество носителей информации, именуемых в народе — жесткий диск (он же HDD, хардешник, винт и т.п.). В общем, понадобилось составить их опись. С указанием их характеристик в том числе и даты их изготовления…
Обычно вся нужная информация указывается на самом жёстком диске:

Проблем, в общем не было… Пока среди моих хардешников не оказалось 2 штуки Seagate Barracuda … Вот тут и начались некоторые непонятности. Не то, чтобы вообще не была указана дата производства данного жёсткого диска… Не так обидно бы было… А указан Date Code (код даты). Можете посмотреть на рисунке:

Не знаю, кому это понадобилось, кодировать дату? Куда проще для всеобщего понимания просто указать число, месяц и год. Нет же, зашифровали… Но, не будем гадать почему, да зачем… Раз сделали — значит им так надо было. Хотя логики ни в их действиях, ни в алгоритме шифрования я так и не увидел.
В общем, проблема нарисовалась. Первым делом запросил наш старый верный Google . Как и предполагалось, я — далеко не первый, кто наступил на эти грабли. Коллеги дали ссылочку на страничку во всемирной паутине, где расположен конвертер:
http://www.bugaco.com/calculators/seagate_date_code.php *
Ничего мудрёного. Окошечко и текстовое поле. В окошечке нужно ввести 4 или 5 цифр вашего кода даты, а в текстовом поле появится соответствующая этому коду календарная дата. Наш код 11313 соответствует дате 31 января 2011 года …
Всё… Проблема решена…
Кстати, на этой же страничке также приводится расшифровка алгоритма этого самого кода даты. Просто ради интереса:
Код даты состоит из 4 или 5 символов в формате YYWD или YYWWD . Где:
YY — порядковый номер финансового года, начиная с 00 . Финансовый год у них, к слову сказать, начинается с первой субботы Июля…
Далее W или WW — порядковый номер фискальной недели ( Week ). Ну, понятно, точка отсчёта опять-же первая суббота Июля. Причём, первые 9 недель обозначаются одной цифрой, а с 10 по 52, разумеется, двумя.
Ну и осталось D — порядковый номер дня этой самой фискальной недели. От 1 до 7. Кто не помнит, в неделе всего 7 дней… Тут тоже не обошлось без сюрпризов. Какой-бы вы думали первый день в этой неделе? Правильно — суббота(!). Понедельник — только третий…
И это всё для того, чтобы поставить дату изготовления…
Я вам говорил, что никак не могу понять эту логику? А вы поняли? Но, видимо, кому-то так проще…
Date code что это
Войти
Авторизуясь в LiveJournal с помощью стороннего сервиса вы принимаете условия Пользовательского соглашения LiveJournal
Seagate — как узнать дату изготовления винта
Многие не знают, как определить дату производства HDD фирмы Seagate.

Для этого можно воспользоваться специальным калькулятором
Куда необходимо вписать 4 или 5 цифр кода:
Decoding Seagate Date Codes
More or less everyone knows that throughout the 1990s and 2000s, Seagate did not label their drives with a date of manufacture like everyone sane would do, but instead used a custom and somewhat mysterious/confusing “date code”. For reasons that I’m sure made sense to Seagate, but definitely made no sense to Seagate’s customers, the date code refers to Seagate’s fiscal year rather than a calendar year.
The good news is that Seagate no longer uses the cryptic date codes and prints a full date of manufacture on their drive labels, just like everyone else. The bad news is that there are countless millions of Seagate drives made before 2016 or so out there, and most of those drives only have the hard to decipher date code.
When was this Seagate drive made? It’s a mystery…
The four- or five-digit date code consists of a two-digit year, one- or two-digit week number (starting with 1), and one-digit day of the week (again starting with 1). If the week number is less than 10, the leading zero may be left out; that seems to have been the case on older drives, but later Seagate apparently switched to consistent five-digit codes.
Now, there are several online Seagate date conversion tools. So far, I have not found one that actually works properly. That is, they produce a date which is close but very often off by several days or even a week. While the few days probably don’t really matter in the end, I find it unnerving and sloppy, especially because it’s obvious that one can do better than that.
How do I know that the conversion tools are wrong? As it turns out, some Seagate drives were OEM drives made for IBM (and later Lenovo). For whatever reason—and I can think of several—IBM decided that wasting people’s time with date codes just won’t do, and required a human readable date on the drive label in addition the Seagate date code.
Note that some IBM/Lenovo OEM drives have two labels, the standard Seagate one and an additional IBM/Lenovo sticker. The Seagate date code as well as the human readable date are usually both on the Seagate label, i.e. printed by Seagate, and presumably printed by someone who knows exactly how to decode the date codes. These drives can be used as a sort of Rosetta Stone.
Let’s take a random Barracuda 7200.7 drive as an example. The Seagate date code is 04365, and in the corner of the drive label there’s 03MAR2004.
An IBM OEM drive made by Seagate, and we know exactly when
If we punch the date code into this converter, it claims that “04365 corresponds to 2004-03-06”. Obviously March 3rd is not March 6th so… no, it does not correspond.
On the other hand, this converter produces “March 10, 2004” which is different and also contradicts the actual drive label. How is this possible?
The core problem is that no one seems to know when Seagate’s fiscal year (FY) starts. Or rather many people think they do, but they really don’t. Some people claim that Seagate’s FY starts on July 1st of the previous calendar year. There is an oft-quoted document which claims that Seagate’s FY starts on the first Saturday in July. Said document further claims that the information was “confirmed by Seagate Warranty Support”, which leaves open the possibility that even people working for Seagate don’t quite know when Seagate’s fiscal year starts.
Even a brief glance at Seagate’s annual reports (Form 10-K) not unheard of. Using this method, each fiscal year has exactly 52 or 53 weeks and starts as close as possible to the desired date.
Using the above rule, I threw together a simple Python script to convert a Seagate date code to a calendar date. The results perfectly match more than a dozen different Seagate-made IBM and Lenovo OEM drives produced between 2002 and 2016.
With high certainty, the drive shown at the top of this article labeled with lot number A-01-0718-1 (corresponding to date code 07181) was made on October 28, 2006.
Breakdown
For a number of years, Seagate marked drives in several different but functionally equivalent ways. Consumer drives had a four- or five-digit “date code” in YYWD or YYWWD format. Enterprise drives had a five-digit lot number in two possible formats. Newer drives (circa 2010 and later) had a simple five-digit lot number in the same YYWWD format. Older drives had a longer lot number in an X-XX-YYWW-D format (the meaning of the X letters or numbers is unknown but not date related).
YY indicates the last two digits of Seagate’s fiscal year, which starts on the Saturday closest to July 1st of the previous calendar year.
WW is the week of the fiscal year, starting with week 1.
D is the day of the week, with Saturday being day 1 and Friday being day 7.
Conversion
It should be apparent that the date code indicates the day of a given fiscal year when the drive was built. Converting the WW and D quantities to the day ordinal number is trivial:
The resulting Day is the number of days to be added to the start of the fiscal year. Note that Day may be zero, indicating the same date on which the fiscal year started.
The only difficulty then lies in determining when the fiscal year started. For fiscal year YY (extended to 19YY or 20YY), first find out which day of the week was July 1st in calendar year YY – 1, then find the closest Saturday. There are many ways to do that, including a table lookup or a few conditionals.
Once the FY start date was calculated, the previously obtained Day is added, and that results in the drive’s manufacturing date. See sgdate.py for a sample Python implementation.
Constraints
It is known that the older lot number format appears on drives made at least as far back as 1989, some still under the Imprimis brand. It is currently unknown whether those lot number dates referred to the same start of financial year.
On Seagate’s consumer drives, date codes started appearing sometime in FY 1998 or perhaps slightly earlier, but drives from the mid-1990 and older do not have them.
Seagate style date codes have been seen on drives manufactured as late as 2016. Some drives made in 2016 and most if not all drives manufactured since 2017 no longer use the date code and instead show a human readable date in DDMMMYYYY format (where MMM is a three-letter English month abbreviation).
What’s Missing
It would be nice to know exactly when Seagate started and stopped using the cryptic date codes. It’s clear that for enterprise drives, Seagate used these as part of the long lot numbers starting circa 1989. For consumer drives, Seagate only started using the four- or five-digit date codes many years later. Medalist drives made in FY 98 have been seen in the wild; are there any older?
On the other end, 2016 appears to be the year when Seagate switched from date codes to a simple date of manufacture (DOM) on drive labels. Are there any newer drives with a date code, or older drives without one?
I have also not been able to verify when Seagate’s fiscal years started prior to 1995 because only filings for FY 1994 and later are available online, and the filings only specify the end of the fiscal year, not the beginning. There is no reason to assume that Seagate used different fiscal year start rules in the 1980s but a confirmation would be useful.