Re: date() 2015==115

new topic     » goto parent     » topic index » view thread      » older message » newer message

The datetime library addresses this problem. You can use datetime:now() instead of date().

include std/console.e 
include std/datetime.e 
 
datetime dt = datetime:now() 
display( datetime:format(dt) ) 
 
maybe_any_key() 

2015-09-14 08:52:37 

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu