Forum Groups
All forums
Help & Feedback
Questions
Work in progress
Finished Art
Non-Max related
Community
Offtopic
News
Hardware
Photography
Featured Threads
Member galleries are online
(36 replies)
So what are you working on? =)
(1268 replies)
Want free webspace?
(13 replies)
spam alert!!!
(2149 replies)
Maxforums member photo gallery index
(90 replies)
Maxforums Member Tutorials
(71 replies)
three cheers to maxforums...
(176 replies)
The Grotorial Index Page
(57 replies)
101 Things you didnt know in Max...
(152 replies)
A Face tutorial from MDB101 :D
(95 replies)
Free textures thread
(65 replies)
Maxforums.org Members Gallery
(473 replies)
SON OF POST YOURSELF
(539 replies)
Dub's Maxscript Tutorial Index
(113 replies)
The Best Art of Maxforums [56k warning]
(100 replies)
News by MaxUnderground
Max 2011 to bring node-based material editor, compositing features, customizable UI!
Autodesk announces new versions of Softimage, Maya, Mudbox, MotionBuilder, FBX, HumanIK and Kynapse
Round 6
European 3D animation schools list – TDT3D 10th anniversary
Power Translators Universal
Creating tiled roofs
Octane Render 1.00 beta1
Composing for downloadable games
Video Games Live
Anselm von Seherr Thoss – Avatar interview
Substance Redux – automatic texture compression tool
Legend of the Guardians trailer
Nexon looking for indie game developers
RSS changes
Wrapit retopology tool news update – QuadGen
FAQ
Properties
Login
Birthdays
Rules
Search
C# question
mathias-soeholm
Hey guys, any c# programmers here?
I wast just wondering how I can get the current time as an int..
Like current time 17:45 --> 1745
so it's HHMM
read 124 times
2/8/2010 1:56:48 AM (last edit: 2/8/2010 1:56:48 AM)
mathias-soeholm
Nevermind just found it..
int currentTime = Int32.Parse(lblTime.Text = DateTime.Now.ToString("hhmm"));
read 105 times
2/8/2010 3:02:17 AM (last edit: 2/8/2010 3:02:17 AM)
gogodr
you can do it like this
int HHMM;
HHMM = DateTime.Hour * 100 + DateTime.Minute;
_____________________________________________
Gogodr's Page
read 103 times
2/8/2010 3:03:10 AM (last edit: 2/8/2010 3:03:10 AM)
FAQ
Properties
Login
Birthdays
Rules
Search
#Maxforums IRC
Open chat window
Support Maxforums.org