Halo, saya minta bantuan.

Saya pakai perl versi 613 under WinNT

tapi saat
use date::format
error krn nggak ada module tsb ? padahal dihelpnya sendiri ada. Dimana
biasanya download kumpulan pm module?

saya ingin mengconvert dari function localtime ke format seperti ini :
11/30/00 2:54:53 PM

use Date::Format;
$sekarang = time2str("%D %r", localtime());
print "$sekarang\n";

apakah perintah tsb benar bila module ada?  Apa ada metode lain tanpa
menggunakan module tsb, sehubungan funtion local time hanya menghasilkan
bilangan integer?

Bagaimana cara konvert datatype yang TIMESTAMP ke bentuk diatas
contoh timestamp    2000-11-20 10:10:90:000000



------------------------------
referensi
        %%      PERCENT
        %a      day of the week abbr
        %A      day of the week
        %b      month abbr
        %B      month
        %c      ctime format: Sat Nov 19 21:05:57 1994
        %d      numeric day of the month
        %e      DD
        %D      MM/DD/YY
        %h      month abbr
        %H      hour, 24 hour clock, leading 0's)
        %I      hour, 12 hour clock, leading 0's)
        %j      day of the year
        %k      hour
        %l      hour, 12 hour clock
        %m      month number, starting with 1
        %M      minute, leading 0's
        %n      NEWLINE
        %o      ornate day of month -- "1st", "2nd", "25th", etc.
        %p      AM or PM
        %r      time format: 09:05:57 PM
        %R      time format: 21:05
        %s      seconds since the Epoch, UCT
        %S      seconds, leading 0's
        %t      TAB
        %T      time format: 21:05:57
        %U      week number, Sunday as first day of week
        %w      day of the week, numerically, Sunday == 0
        %W      week number, Monday as first day of week
        %x      date format: 11/19/94
        %X      time format: 21:05:57
        %y      year (2 digits)
        %Y      year (4 digits)
        %Z      timezone in ascii. eg: PST
        %z      timezone in format -/+0000



terima kasih banyak


Ahmad Juniar



--------------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]

Kirim email ke