VB.NET:我如何制作数字时钟? [英] VB.NET: How do i make a Digital Clock?

查看:360
本文介绍了VB.NET:我如何制作数字时钟?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为我的计算机类制作一个看起来像这样的数字时钟

http://pheatt.emporia.edu/courses/20...signment04.htm


plz帮助

i need to make a digital clock for my computer class that looks like this

http://pheatt.emporia.edu/courses/20...signment04.htm

plz help

推荐答案

本网站的专家非常乐意帮助您解决问题,但他们无法为您完成任务/计划。首先尝试自己的作业/计划并发布有关您遇到的任何困难或有关您不知道如何实现的特定代码功能的问题。


请阅读< a href =http://www.thescripts.com/forum/faq.php?faq=posting_guidelines\"target =_ blank>发布指南,特别是课程作业发布指南


然后当你准备好发布一个新的这个帖子中的问题。

MODERATOR
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don''t know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

MODERATOR


我写了代码DateTime.Now()但它给了我日,月和年,小时,分钟,秒。我只需要小时,分钟和秒钟,我是否需要制作Mid功能或其他东西?我是VB中的一个新手请帮忙!

这是我到目前为止所得到的:
i write the code DateTime.Now() but it gives me the day, month and year along with the hour, minute, second. I only need the hour, minute, and second, do i need to make a Mid Function or something? im a total newb in VB Please help!

Here is what i got so far:
展开 | 选择 | Wrap | 行号



... DateTime.Now()...
... DateTime.Now() ...



因为我我不知道语法,我猜这必须是VB的后期(.Net)版本之一吗?


如果这是VB6,我会说使用 Format()功能。至于VB.Net,我不知道。尝试搜索联机帮助以获取有关格式化日期和时间值的信息。

Since I don''t recognise the syntax, I''m guessing this must be one of the later (.Net) versions of VB?

If this was VB6, I''d say to use the Format() function. As for VB.Net, I have no idea. Try searching the online help for information on formatting date and time values.


这篇关于VB.NET:我如何制作数字时钟?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆