ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] date: неправильна дата
@ 2011-06-22  7:48 vsol
  2011-06-22  8:05 ` Хихин Руслан
  0 siblings, 1 reply; 10+ messages in thread
From: vsol @ 2011-06-22  7:48 UTC (permalink / raw)
  To: ALT Community

нужна дата рождения сотрудника
20079 -  первые 5 знаков индивидуального кода
[vsol@irbis printing]$ date -d '1899-12-31 +20079 days'
date: неправильна дата `1899-12-31 +20079 days'

приходится загружать OOcalc  и  .... ;0)

Решил проверить с какой же даты считается правильна дата
[vsol@irbis printing]$ date -d '1901-12-13 +2 days'
date: неправильна дата `1901-12-13 +2 days'

[vsol@irbis printing]$ date -d '1901-12-14 +2 days'
понеділок, 16 грудня 1901 00:00:00 +0202

Можно ли что-бы работало с любыми датами?


-- 

     --------------------------
	З повагою,
	
	Валерій Солонець
	IT-manager
	ПАТ "Кисневий завод"
	
	vsol@kkz.kiev.ua
	+380-50-353-18-21
	+380-44-455-455-9




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-22 19:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22  7:48 [Comm] date: неправильна дата vsol
2011-06-22  8:05 ` Хихин Руслан
2011-06-22  8:20   ` K. A. Bylym
2011-06-22  9:21     ` Yura Kalinichenko
2011-06-22  9:57       ` Anton Gorlov
2011-06-22 10:32       ` K. A. Bylym
2011-06-22 19:15       ` Sergey Vlasov
2011-06-22  9:56     ` Anton Gorlov
2011-06-22  9:54   ` Vyatcheslav Perevalov
2011-06-22 10:05     ` Vyatcheslav Perevalov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git