- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Date in Julian Format
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:36 AM
06-01-2001 06:36 AM
Re: Date in Julian Format
but I have no idea what or who Julian is?
You may want to look at your locale settings.
Type in locale, and man locale and date for more.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:38 AM
06-01-2001 06:38 AM
Re: Date in Julian Format
# date +%y%j
...returns 01152...
# date +%Y%j
...returns 2001152
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:54 AM
06-01-2001 06:54 AM
Re: Date in Julian Format
use
date='date+%m+%d'
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:56 AM
06-01-2001 06:56 AM
Re: Date in Julian Format
No guys, it's obvious that none of you are physicists or astronomer's (and possibly I'm both though one on a amateur basis) Julian dates are floating point number of days since approximately 0000hrs UCT Jan 1, 4712 B.C.E.
The fractional part represents the fractional part of the day to whatever precision.
Given that, Marcelo, yes, I've got routines to do this but I suspect that you want TRUNCATED julian dates (integer representations).
I suppose you want integer routines to convert year,month, and day to integer Julian equivalent (and possibly the inverse). If that's what you are looking for, let me know and I'll dig them up. It seems to me I coded the trucated versions in awk embedded in a shell script.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 07:13 AM
06-01-2001 07:13 AM
Re: Date in Julian Format
On the contrary, I am aware of the nuance. I believe that there are some good articles from the US Naval Observatory sites on this. For some history, readers can take a look at this:
http://www.faqs.org/faqs/astronomy/faq/part3/section-6.html
For general, commercial computing, I have always seen "Julian" infer the notation of YYDDD.
With my regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 07:24 AM
06-01-2001 07:24 AM
Re: Date in Julian Format
I suppose I'm too much of a purist to allow that; it's sort of like football coaches talking about momentum.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 07:32 AM
06-01-2001 07:32 AM
Re: Date in Julian Format
Well put. I'm a big fan of Heisenberg, too. ;-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 07:50 AM
06-01-2001 07:50 AM
Re: Date in Julian Format
Try DATE=`date +%A,%d:%m:%Y`
I know why you want this in Julian - Senator