|
by: Richard Hollenbeck |
last post by:
I'm trying to write some code that will convert any of the most popular
standard date formats twice in to something like "dd Mmm yyyy" (i.e. 08 Jan
1908) and compare the first with the second and calculate days, months, and
years. This is not for a college course. It's for my own personal
genealogy website. I'm stumped about the code. I'm working on it but not
making much progress. Is there any free code available anywhere? I know it...
|
by: MickG |
last post by:
Hi,
I am trying to validate these values, this seems to work fine for the
phone number and name but I am trying to get the program to fail to
submit and set the focus on the date when 2006 is selected and
submitted.
Thanks in advance for any help.
|
by: Andy |
last post by:
I wish to validate the date a user has entered against the format dd
mmm yyyy
Using the CompareValidator and DataTypeCheck does not work and I
suspect that a Regular Expression is over-engineering. Does anybody
have a simple solution please?
Many thanks in advance.
|
by: VC |
last post by:
I have a textbox where users type in a date. I want to check that the input
is between year 2000 and the current date.
Here is segment of the codes that give me the "Server tags cannot contain
<%...%> construct"
<asp:rangevalidator id="startDateValidator" runat="server" Type="Date"
MinimumValue="1/1/2000"
MaximumValue=<%=DateTime.Now.ToShortDateString()%>
..
..
|
by: CyberLotus |
last post by:
Hi,
I wish to validate the date a user has entered against the format
dd-mmm-yyyy
using the CompareValidator, but it does not work.
Does anybody have a simple solution please?
Many thanks in advance.
|
|
by: JIM.H. |
last post by:
Hello,
I put a compare validator in to my applications and set the type as Date. It
works for “MM/dd/yyyy” but not for “MM/dd/yyyy hh:mm:ss”. How can I validate
time part too?
Thanks,
|
by: Assimalyst |
last post by:
Hi,
I have a working script that converts a dd/mm/yyyy text box date entry
to yyyy/mm/dd and compares it to the current date, giving an error
through an asp.net custom validator, it is as follows:
function doDateCheckNow(source, args)
{
var oDate = document.getElementById(source.controltovalidate); //
dd/mm/yyyy
|
by: Mike P |
last post by:
What date format does the Compare Validator check against? The date
format of the web server or of the client?
<asp:CompareValidator ID="CompareValidator2" runat="server"
Display="None"
ErrorMessage="Please enter a valid date in format dd/mm/yyyy"
ControlToValidate="txtDueDate" Type="Date"
Operator="DataTypeCheck"></asp:CompareValidator>
|
by: =?Utf-8?B?VmFuY291dmVyTWlrZQ==?= |
last post by:
Hi there,
I have a web app written in 1.1 in ASP.net and C#. In the web app, I need to
compare two dates (from and to) from two textboxes on webpage to make sure
the to date is greater than or equal to from date, by using comparevalidator
control. The app is working fine in production server, but recently when I
put the code into development environment (Windows 2000 server), the
comparison is not working properly. Even I set the date...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|