The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: thientansky on March 02, 2006, 09:54:51 AM

Title: Show date and time
Post by: thientansky on March 02, 2006, 09:54:51 AM
Can you give me the program which can show date and time of the system.
Thank you
Title: Re: Show date and time
Post by: hutch-- on March 02, 2006, 10:36:48 AM
Usually members ask for help in writing software in assembler, this is not a software begging site.
Title: Re: Show date and time
Post by: P1 on March 02, 2006, 02:44:52 PM
thientansky,

Welcome a Board !!!      :U

Forum 'Search' is your friend, along with Google.   

Click on the toolbar Time and you will get date and time of the system.   :dance:

Regards,  P1  :8)

Title: Re: Show date and time
Post by: Tedd on March 02, 2006, 06:32:53 PM
C'mon guys, maybe you're being just a little harsh in the face of language differences :P


thientansky: use the GetSystemTime function, and then convert the time into text, and display the text in a message box :U
Title: Re: Show date and time
Post by: thientansky on March 03, 2006, 01:28:57 PM
I don't know how to write in Assembler.Can you help me to write it?
Title: Re: Show date and time
Post by: P1 on March 03, 2006, 02:43:31 PM
Tedd,

The question boils down to:  Are you going to help him learn or just give him code?  And are you going to code it for him the next time.  And if we keep coding, where does the learning begin?

For me, he has not even tried to work out an answer.

Regards,  P1  :8)
Title: Re: Show date and time
Post by: skywalker on March 03, 2006, 04:07:12 PM
Quote from: thientansky on March 03, 2006, 01:28:57 PM
I don't know how to write in Assembler.Can you help me to write it?

We'd like to help.

What do you know about assembly language ?
What have you studied so far ?
You were ambitious enuf to find this board, so I'm betting you're a quick learner. :-)



Title: Re: Show date and time
Post by: Tedd on March 03, 2006, 06:58:17 PM
Quote from: P1 on March 03, 2006, 02:43:31 PM
Tedd,

The question boils down to:  Are you going to help him learn or just give him code?  And are you going to code it for him the next time.  And if we keep coding, where does the learning begin?

For me, he has not even tried to work out an answer.

Regards,  P1  :8)

I didn't say/imply that. I simply meant he should have chance to display that he has attempted something before you make the grande final judgement - even though his choice of words would seem to indicate that he hasn't.
And now it's obvious that he hasn't :P




thientansky: we can help you learn assembler - we will not write programs for you.
First you should learn how to make a message box.
1. Get MASM32 package, install
2. Read tutorials, etc included
Title: Re: Show date and time
Post by: MichaelW on May 05, 2006, 08:33:06 PM
newsky,

I split this topic moving your most recent post to the 16 bit DOS Programming forum where it belongs:

http://www.masmforum.com/simple/index.php?topic=4729.0