如何输入格式为mm / dd / yyyy的日期 [英] How to enter a date with format mm/dd/yyyy

查看:952
本文介绍了如何输入格式为mm / dd / yyyy的日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!我是VB的新手。有人可以请教我如何格式化输入日期格式为mm / dd / yyyy吗?我将在文本框11/16/020中输入11/16/2006的示例出现。谢谢。

Hello! I''m a newbie in VB. Can someone please help me how to format my input date in mm/dd/yyyy? Example when I enter 11/16/2006 in the text box 11/16/020 will appear. Thank you.

推荐答案


您好!我是VB的新手。有人可以请教我如何格式化输入日期格式为mm / dd / yyyy吗?我将在文本框11/16/020中输入11/16/2006的示例出现。谢谢。
Hello! I''m a newbie in VB. Can someone please help me how to format my input date in mm/dd/yyyy? Example when I enter 11/16/2006 in the text box 11/16/020 will appear. Thank you.



嗨。你是说这是发生了什么或这是你想要发生的事情?

Hi. Are you saying that this is what is happenning or this is what you want to happen?



您好!我是VB的新手。有人可以请教我如何格式化输入日期格式为mm / dd / yyyy吗?我将在文本框11/16/020中输入11/16/2006的示例出现。谢谢。
Hello! I''m a newbie in VB. Can someone please help me how to format my input date in mm/dd/yyyy? Example when I enter 11/16/2006 in the text box 11/16/020 will appear. Thank you.



您如何接受输入?一个文本框?您是否考虑过使用蒙面文本框? (我不记得这种控制类型的官方名称。)

How are you accepting the input? A textbox? Have you considered using a "masked textbox"? (I can''t recall the official name of this control type.)



嗨。你是说这是发生了什么,或者这是你想要发生的事情?
Hi. Are you saying that this is what is happenning or this is what you want to happen?



嗨!它是我想要发生的事情。激活日期= mm / dd / yyyy。感谢您的快速回复。

Hi! its what I want to happen. activation date = mm/dd/yyyy . Thank you for a quick reply.


这篇关于如何输入格式为mm / dd / yyyy的日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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