Hi,

you can also use various Data and Time related perl modules to get a nicer formatting, for
example:


<%
use Date::Format;
use Date::Language::German;

my $lang = Date::Language::German->new;
print $lang->time2str("%a %b %e %T %Y\n", time);;
print "\n";
%>

displays:

Mit Okt 1 21:47:42 2003

(for example)

(In Apache::ASP you can call "print" instead of "$Response->Write()")

Other Date / Time modules would be: Date::Calc, Date::Manip


Helmut




--On Wednesday, October 01, 2003 17:04:07 +0000 brentatkerson <[EMAIL PROTECTED]> wrote:

Okay, I seem to have missed the boat, I still cannot figure this
out, think I still have syntax wrong.  I have been to the link you
provided and still cannot get rid of that long number.  Could you
provide another hint to at least get me over the edge?


--- In [EMAIL PROTECTED], "Fagyal, Csongor" <[EMAIL PROTECTED]> wrote:
brentatkerson wrote:

> Okay, this is the result  Hello World164691910332731 .
>
Oh... well :-)

>  Making
> progress, but how/where would a newbie go to find the localtime
time
> thing? I think that is what I need most is a comprehensive list
of
> objects and events so I know what I have to choose from.
>
>
Apache::ASP "uses" the built-in perl functions, plus extends them
with
some objects/events/etc. The later group is discussed at the
www.apache-asp.org page, while docs on the former you should find
at
www.perldoc.com. I'd recommend reading
http://www.perldoc.com/perl5.8.0/pod/perlfunc.html

Here you will also find localtime and time (and will probably
understand
why you got that big number :-)).

Regards,
- Cs.


-------------------------------------------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to