DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Mac Software (http://www.daniweb.com/forums/forum102.html)
-   -   REALbasic (sorry- wasn't listed in the language list) (http://www.daniweb.com/forums/thread124444.html)

Lomoco May 15th, 2008 5:20 pm
REALbasic (sorry- wasn't listed in the language list)
 
I'm having trouble figuring out how to, in REALbasic, have it display the current date and time in a static text box. Do any of you have some miracle code that can save me? Thanks!



(PS mods: If there is a better place this thread can be, feel free to move it).

simsel Jun 26th, 2008 6:14 pm
Re: REALbasic (sorry- wasn't listed in the language list)
 
Dim d as new date

Statictext1.text = d.longdate +" "+d.longtime

Check out the date class in the language reference.


All times are GMT -4. The time now is 11:40 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC