Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Date subroutine

by Tomte (Priest)
on May 16, 2007 at 11:29 UTC ( #615749=note: print w/replies, xml ) Need Help??


in reply to Date subroutine

What did you try? Why don't you read the documentation? Do you think your computer or we here should be able to read your mind?

here is my testrun, everything works as it should - don't just make something up in your head and falter surrender if that failes, read the documentation carefully, experiment with the stuff you read and think:

mysql> create table tstest( ts timestamp not null default now()); Query OK, 0 rows affected (0.03 sec) mysql> insert into tstest values(from_unixtime(114454234)); Query OK, 1 row affected (0.00 sec) mysql> select * from tstest; +---------------------+ | ts | +---------------------+ | 1973-08-17 17:50:34 | +---------------------+ 1 row in set (0.00 sec)

Edit: altered a word to get nearer to the intended meaning...(marked via strike out)

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://615749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2021-10-22 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?