[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Date/time funktioner



Hmmm!
Jeg plejer ellers at være rimeligt frisk klokken 3 om natten, men det
kan åbenbart kikse. Både %y og %Y i strftime gør sikkert det de er
bestilt til, og jeg klippede et stykke kode fra 90'erne der brugte
"localtime". Derfor fik jeg et problem i forrige uge.

M.v.h.
Søren H. Sørensen


Frank Damgaard wrote:
> 
> In article <sslug@sslug> you wrote:
> 
> > Lige en velment advarsel. Både "strfrime" og også "localtime" (som godt
> > nok bruges på en helt anden måde) giver at året lige nu er 101, og ikke
> > bare 1. Jeg måtte droppe strftime for nylig og bruge localtime for at
> > kunne rette i årstallet.
> 
> ??  jeg er ikke helt med, i manualsiderne (også de gamle) står:
> 
>       tm_year
>               The number of years since 1900.
> 
> Og man kan da altid rette i årstallet eller ?
> 
> PS.
> Se http://www.usenet.dk/netikette/quote.html
> man må MEGET gerne klippe i det man svarer på
> og svarer nedenfor det man svarer på.
> 
> Det er ved at blive meget slemt på sslug listerne med disse
> grafiske unoder. (windows, netscape osv.)
> 
> --
> Frank Damgaard


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *