From: Per W. <pw...@ia...> - 2004-01-01 17:49:57
|
Besides forgetting a subject - making it a bit hard to keep track of question and answers - you also forgot to mention who created the double date for you. Why is that important? Simple: You convert from double to date using reverse algorithm from what created the double. Different OS uses different date formats. The scaling might differ - is 1.0 24 hours or 1 second or what? The offset might differ. Year 0 might be 1980, 1900, 0000 or whatever. /Per W On 1 Jan 2004, neo wrote: > hi, > > happy new year! > > this is the first question of mine this year.:) > > Question: How to convert the a double date into a string,without using so= me > certain function of the library? > > I need your code(*.C),thx in advance. > > > > > > > --http://www.eyou.com > --=CE=C8=B6=A8=BF=C9=BF=BF=B5=C4=B5=E7=D7=D3=D0=C5=CF=E4 =D3=EF=D2=F4=D3= =CA=BC=FE =D2=C6=B6=AF=CA=E9=C7=A9 =C8=D5=C0=FA=B7=FE=CE=F1 =CD=F8=C2=E7= =B4=E6=B4=A2...=D2=DA=D3=CA=CE=B4=BE=A1 > > --http://vip.eyou.com > --=BF=EC=BF=EC=B5=C7=C2=BC=D2=DA=D3=CAVIP=D0=C5=CF=E4 =D7=A2=B2=E1=C4=FA= =D6=D0=D2=E2=B5=C4=D3=C3=BB=A7=C3=FB > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |