Re: ctime date

2005-05-27 Thread Sergey S. Ropchan
On Thu, 2005-05-26 at 22:50 -0700, Evan Sayer wrote: > Hello- > Does anyone know how to get the ctime(3) format of the date in a script > (i.e without actually writing a C program to return it). > -Thanks. #!/bin/sh #get current date DATE=`date "+%d%m%y"` echo $DATE; you can play with specs: %D

Re: ctime date

2005-05-26 Thread Bill Campbell
On Thu, May 26, 2005, Evan Sayer wrote: >Hello- >Does anyone know how to get the ctime(3) format of the date in a script >(i.e without actually writing a C program to return it). ctime=`perl -e 'printf qq(%d\n), time' ` Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC

ctime date

2005-05-26 Thread Evan Sayer
Hello- Does anyone know how to get the ctime(3) format of the date in a script (i.e without actually writing a C program to return it). -Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions