Skip to main content
remove thank you + code in text
Source Link
Vlastimil Burián
  • 31.1k
  • 66
  • 210
  • 358

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawkgawk that can subtract one date from another. But in Solaris the maximum we have is nawknawk (improved awkawk) which cannot perform date calculations. Also I cannot use perl... :(

Is there anywayany way to do datesdate calculations like 20100909 - 20001010  ?

UPDATE: Is bc able to perform dates calculations?

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawk that can subtract one date from another. But in Solaris the maximum we have is nawk (improved awk) which cannot perform date calculations. Also I cannot use perl... :(

Is there anyway to do dates calculations like 20100909-20001010  ?

UPDATE: Is bc able to perform dates calculations?

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawk that can subtract one date from another. But in Solaris the maximum we have is nawk (improved awk) which cannot perform date calculations. Also I cannot use perl.

Is there any way to do date calculations like 20100909 - 20001010?

UPDATE: Is bc able to perform dates calculations?

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawk that can subtract one date from another. But in Solaris the maximum we have is nawk (improved awk) which cannot perform date calculations. Also I cannot use perl... :(

Is there anyway to do dates calculations like 20100909-20001010 ?

UPDATE: Is bc able to perform dates calculations?

Thanks guys

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawk that can subtract one date from another. But in Solaris the maximum we have is nawk (improved awk) which cannot perform date calculations. Also I cannot use perl... :(

Is there anyway to do dates calculations like 20100909-20001010 ?

UPDATE: Is bc able to perform dates calculations?

Thanks guys

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawk that can subtract one date from another. But in Solaris the maximum we have is nawk (improved awk) which cannot perform date calculations. Also I cannot use perl... :(

Is there anyway to do dates calculations like 20100909-20001010 ?

UPDATE: Is bc able to perform dates calculations?

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k
Loading
edited tags
Link
Steven D
  • 47.6k
  • 15
  • 123
  • 117
Loading
added 55 characters in body
Source Link
jyz
  • 687
  • 2
  • 10
  • 17
Loading
edited tags
Link
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236
Loading
Source Link
jyz
  • 687
  • 2
  • 10
  • 17
Loading