POV-Ray : Newsgroups : povray.general : What time is it? : Re: What time is it? Server Time
11 Aug 2024 07:20:31 EDT (-0400)
  Re: What time is it?  
From: Bill DeWitt
Date: 28 Aug 1999 18:22:45
Message: <37c86135@news.povray.org>
This is what I was thinking I would use. The standard notepad in Win98 has a
F5 time stamp that I can automate with one of those shortcut macro programs.
Now if I can just figure out how to get it to do that, then run a specific
POV file and then change wall papers for me.....

    Looks like we are taking a miss with Dennis, I am a little
disappointed...

Bob Hughes <inv### [at] aolcom> wrote in message
news:37c85008@news.povray.org...
> Use a substr function on the read input. Extract the first two digits
> for the hour, next two for minutes.
>
> #declare Time=str(01:23:45am)
> #declare H=substr(Time,0,2)
> #declare M=substr(Time,2,2)
> #declare Hours=strval(H)
> #declare Minutes=strval(M)
>
> Something like that anyhow. I'm not sure since I haven't done it,
> yet....
>
> Bob
>
> Fabien Mosen <fab### [at] skynetbe> wrote in message
> news:37C81C13.5C2798B8@skynet.be...
> > PoD wrote:
> >
> > > Er. how about something like 'time > time.txt' in DOS/Windoze or
> 'date >
> > > time.txt' in *n*x.
> > > It won't be very portable though.
> >
> > I tought of that, but, afaik, Pov needs comma-separated data, so
> > the standard dos time output would be unreadable. (but I may
> > be wrong...)
> >
> > Fabien.
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.