Forum Groups
All forums
Help & Feedback
Questions
Work in progress
Finished Art
Non-Max related
Community
Offtopic
News
Hardware
Photography
Member Galleries
Recent submissions
Current Favourites
Alltime Favourites
1973 BMW 3.0si
by Mashedpot8er
Featured Threads
Maxforums Tournament 7 - Round 3
(11 replies)
Maxforums Tournament 7 - Round 2
(37 replies)
Maxforums Tournament 7 - Round 1
(84 replies)
The Life of a Sea Turtle - Tutorial by mrgrotey
(85 replies)
So what are you working on? =)
(1622 replies)
Want free webspace?
(16 replies)
spam alert!!!
(2644 replies)
Maxforums member photo gallery index
(93 replies)
Maxforums Member Tutorials
(82 replies)
three cheers to maxforums...
(178 replies)
The Grotorial Index Page
(57 replies)
101 Things you didnt know in Max...
(159 replies)
A Face tutorial from MDB101 :D
(95 replies)
Free textures thread
(72 replies)
Maxforums.org Members Gallery
(474 replies)
SON OF POST YOURSELF
(582 replies)
Dub's Maxscript Tutorial Index
(115 replies)
The Best Art of Maxforums [56k warning]
(101 replies)
News by MaxUnderground
Analysis of early video games: from Space Invaders to Donkey Kong
ReelSmart Motion Blur 4 OFX plugin
MRProfiler
3DS Max Hot Box
Frowser
Google SketchUp 8
CINEMA 4D Release 12
Max could be ported to other OSs in the future
Gobelins ā Films de fin dāétudes 2010
FumeFX 2.0 Auto Script v1.0
Krakatoa v1.6 released
Particle Flow Toolbox #2: Intro and Overview
Rendering Fusion comps with BackBurner
Making of Calamity Jane
Preset: Dust Light
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 169 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 150 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;
_____________________________________________
read 148 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