- perl system date...
systems date through os..
my date = `date`;
> -----Original Message-----
> From: Atwood, Diana [mailto:diana.atwood@...]
> Sent: Thursday, March 06, 2003 1:11 PM
> To: firstname.lastname@example.org
> Subject: [PBML] system date
> I need to populate a date field in a table. How do would I set the
> system date or current date?
> Unsubscribing info is here:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> This email was pre-scanned by Spam Guardian
> A Service Provided by www.foothill.net and FNFmail.com
- It's usually done from the system. Try the "date" command.
If you want to get the date, that's just localtime(). It behaves
differently depending on if it's called in a list or scalar context, so
you'd be best reading the doco. "perldoc -f localtime" :-)
"Atwood, Diana" <diana.atwood@...>
07/03/2003 08:10 AM
Please respond to perl-beginner
Subject: [PBML] system date
I need to populate a date field in a table. How do would
I set the
system date or current date?
Unsubscribing info is here:
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
This email contains confidential information intended only for the person named above and may be subject to legal privilege. If you are not the intended recipient, any disclosure, copying or use of this information is prohibited. The Department provides no guarantee that this communication is free of virus or that it has not been intercepted or interfered with. If you have received this email in error or have any other concerns regarding its transmission, please notify Postmaster@...