> > ... I can have integer, date, single, and string data and so 
> > forth, but there
> > is no 'time' type of data field to put in a class? 
> 
> REALbasic dates objects always have a date, you cannot just assign 
> the time value.  However, the actual date really doesn't matter, so 
> you can make it anything you want.  For example:
> 
>     Dim d As New Date     // sets the date to right now (day and time)
>     d.Hour = 11
>     d.Minute = 0
>     d.Second = 0
> 
>     MsgBox d.ShortTime    // outputs "11:00 AM
> 

I want to save a time to a data an array of items, and save it to a database. 
There is a time field in the db, and a date data type, but suppose I open the 
data base and want to get the times out of it, what kind of place do I put 
them?

I would like to do :
      Employee.punchinTime <--- database record time field

PS please look at my DB 2006 question. Thats holding me up big time. I don't 
mind paying for a web article even if it will solve this problem. I am 
checking all the docs but nothing helps. Is there any explanatory release for 
RB2006 
other than that huge long list of bug fixes?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to