15,884,388 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by wizklaus (Top 4 by date)
wizklaus
13-Feb-19 9:25am
View
// Thanks @Pete O'Hanlon I have done that
$(function () {
$("#txtDateJoinEmployer").datepicker({ dateFormat: "yy-mm-dd" });
$("#txtDateJoinEmployer").on("change", function () {
var RepayDate = $(this).val();
console.log("RepayDate " + RepayDate); // RepayDate 13/02/2019
var d = new Date();
var d1 = d;
var LoanExpiryDate = d1.setDate(d1.getDate() + 30);
console.log("LoanExpiryDate: " + LoanExpiryDate) // LoanExpiryDate: Fri Mar 15 2019 15:18:05 GMT+0100 (West Africa Standard Time)
if (RepayDate > LoanExpiryDate)
{
// How do i check for the conditions if RepayDate is greater than LoanExpiryDate
}
});
wizklaus
23-Jul-18 13:33pm
View
Thanks for your solution. it has helped in solving it. as for the Task<bool>, my project is of asynchronous methods where i await the result.
wizklaus
18-Jul-18 7:20am
View
Thanks @Ziee-M. But its not a solution i can accept as i have more than 50 parameters in the source code. I have read other instance where List was used. but cant it be archive with an array? adding a new parameter to sqlparameter[] collection.
wizklaus
7-May-18 6:12am
View
Thanks Maciej for your reply... But it doesn't check if the value ISNULL