forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do I set the time value in @DATETIME

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Nov 13, 2003 1:31 pm    Post subject: How do I set the time value in @DATETIME Reply with quote

I know how to set the date, but I don't know how to set the time (i.e.after the decimal point) from two values %%Hour & %%Minute

I have searched the articles, but I can't find a solution...


Thanks in advance


Andy

_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Nov 13, 2003 2:53 pm    Post subject: Reply with quote

Do you want to do this?

Code:
info @datetime(hh:nn)


Or do you want to change the time in Windows? In that case I'd use the MS-DOS program "time".

Code:
runh "command /c time "%%hours":"%%minutes

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Nov 13, 2003 3:36 pm    Post subject: Reply with quote

Would that work under NT?

You can do it using the VDS Internet Suite 2, but that may be overkill...

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Nov 13, 2003 3:53 pm    Post subject: Reply with quote

No, all I want to do is record the time noted on a dialog screen in @DATETIME format.

If some one choses 08:00 on the screen I want to record the approriate decimal part. I seem to remember now I think about that Mac published a message about translating minutes and seconds in @DATETIME format, but I can't find it...

_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Nov 13, 2003 3:57 pm    Post subject: Reply with quote

...

http://forum.vdsworld.com/viewtopic.php?t=919

...

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group