Any idea how i can get the number of the day in the year?
Try '%j' as an argument to `date' or `strftime.'
--
Ronald Florence http://members.home.net/18james
Any idea how i can get the number of the day in the year?
Try '%j' as an argument to `date' or `strftime.'
--
Ronald Florence http://members.home.net/18james
> > Hello *,
> > Any idea how i can get the number of the day in the year?
> perl -e 'print((localtime)[7]+1,"\n")'
> John
You need to look at the man page for strftime to find the +format options
for /usr/bin/date.
David J. A. Plaunt NIC handle DP3672
office # 1 519 645 8161 personal: http://plaunt.empath.on.ca
---------------------------------------------------------------------------
2. cancel <RV.93Nov28201443@cslab9a.cs.brown.edu>
3. Leap year warning - 2000 is NOT a leap year
5. Red Hat Has "A Good Year;" What Constitutes a Bad Year?
6. ATI GX Mach64/Vivitron1776: XF86Config
7. Year 2000. Data is set to year 1970.
8. Yamaha sound card: timeout flushing dbuf_out
9. Solaris 2.3 year & year 2000
10. 2000 is not world's end! [was: 2000 *IS* Leap Year Problems (Was: Leap year warning)]
12. Government storing all communications for 5 years.