473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Time and Date Validation

LDD
Are there any built in time and/or date validation methods that one can make
use of in .NET?

thanks folks

LDD
Nov 17 '05 #1
3 1562
LDD
I should be more specific....
I have a couple of textboxes that the user enters in dates
and another couple of textboxes that the user enters time values

I have validation currently but I'm looking to tighten it up.

-LDD

"LDD" <la***************@gmail.com> wrote in message
news:9N********************@magma.ca...
Are there any built in time and/or date validation methods that one can make use of in .NET?

thanks folks

LDD

Nov 17 '05 #2
What are you currently doing to validate and what would you like to
change/add?

--

Derek Davis
dd******@gmail.com

"LDD" <la***************@gmail.com> wrote in message
news:i_********************@magma.ca...
I should be more specific....
I have a couple of textboxes that the user enters in dates
and another couple of textboxes that the user enters time values

I have validation currently but I'm looking to tighten it up.

-LDD

"LDD" <la***************@gmail.com> wrote in message
news:9N********************@magma.ca...
Are there any built in time and/or date validation methods that one can

make
use of in .NET?

thanks folks

LDD


Nov 17 '05 #3
LDD
splitting the different parts of the date and time into tokens and checking
if they meet the requirements
"carion1" <dd******@gmail.com> wrote in message
news:uH**************@tk2msftngp13.phx.gbl...
What are you currently doing to validate and what would you like to
change/add?

--

Derek Davis
dd******@gmail.com

"LDD" <la***************@gmail.com> wrote in message
news:i_********************@magma.ca...
I should be more specific....
I have a couple of textboxes that the user enters in dates
and another couple of textboxes that the user enters time values

I have validation currently but I'm looking to tighten it up.

-LDD

"LDD" <la***************@gmail.com> wrote in message
news:9N********************@magma.ca...
Are there any built in time and/or date validation methods that one can

make
use of in .NET?

thanks folks

LDD



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Megha Vishwanath | last post by:
Hi, We have an application where my clients may be at different timezones. I need to validate time across the timezones with javascript. The date object in JavaScript does not allow me to get...
1
by: simina | last post by:
Hi... I have an "appointments" page where the user should (or not necessarily) choose a date and time for his appointment, from 6 combo boxes:year, month, day, hour, minute and AM or PM, without...
10
by: soup_or_power | last post by:
Hi I have a requirement to compare the user entry for mm/dd/yy/HH/mm (month, day, year, hour, minute) to the Easter Standard Time. I am using the following script, but it is not giving the right...
2
by: Frank Rocco | last post by:
Hello, Are there any free or inexpensive date and time picker controls that validate? I need to be able to have the control to just display a date or just display a time for editing. Thanks...
7
by: Paul | last post by:
Hi, I have a form where a user is required to enter a start date and an end date. Both are required and must between a specific date range (e.g. 01/01/1900 and 01/01/2099) and the end date...
12
by: Diego | last post by:
Can I validate (possibly with a compare validator) a Date entered by the user based upon his regional settings? I.e. if a user is american the format would be mm/dd/yyyy, if brittish dd/mm/yyyy...
17
by: Petyr David | last post by:
Just looking for the simplest. right now my perl script returns an error messge to the user if the date string is invalid. would like to do this before accessing the server. TX
6
by: Steve Ryan | last post by:
can anyone send me to some good examples of edit in place for data frid columns i see dot net let me assign a control in the IDE any good sources of reading on editing columns with controls...
2
by: DrSporkeh | last post by:
Hai everyone, i need some help :o basically im trying to set some validation rules for an 'employees' table. firstly i've set it to you have to be 16 to work here under 'Date Of Birth' ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.