Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 36 results for
datecheck
- Page 1
get html element value using php
Programming
Web Development
18 Years Ago
by mikesowerbutts
…while($check = mysql_fetch_array($existsQuery)){ $
datecheck
= $check['Date']; //echo'inside while …loop'; if($date == $
datecheck
){ $exists = true; //echo…
Re: get html element value using php
Programming
Web Development
18 Years Ago
by digital-ether
…while($check = mysql_fetch_array($existsQuery)){ $
datecheck
= $check['Date']; //echo'inside while …loop'; if($date == $
datecheck
){ $exists = true; //…
Working with files in os.walk
Programming
Software Development
16 Years Ago
by ccandillo
… for root, dirs, files in os.walk(basedir): basedate, lastused =
datecheck
(root, age) if lastused < basedate: #Gets files older than… (age) days dirsNotUsed.append(root) def
datecheck
(root, age): basedate = date.today() - timedelta(days=age) used = os…
Re: Working with files in os.walk
Programming
Software Development
16 Years Ago
by woooee
…quot;, files found = 1 for file in files: found_file =
datecheck
(root, file, age) if not found_file : #At least one … file)) """ if found: archive(root, files) def
datecheck
(root, file, age): basedate = date.today() - timedelta(days=age…
Re: Working with files in os.walk
Programming
Software Development
16 Years Ago
by ccandillo
For my first script, I thought I didn't do to bad. This makes much more sense to me now. By simply adding the extra print statements, found flag and the returns from the
datecheck
funtion really helped! Thanks!
Adding to a date, checking if past expiration date
Programming
Software Development
14 Years Ago
by banannamoofin
…;life":lifeInput, "name":nameInput} def checkProduct(cheeseDictionary):
dateCheck
= raw_input("Please enter the date in the format dd…
Form not showing correctly....Please read inside.
Programming
Software Development
13 Years Ago
by TheMightySpud
… sender As System.Object, ByVal e As System.EventArgs) Handles
DateCheck
.Tick Dim rightNow As DateTime = DateTime.Now Dim strCurrentDateTimeStringYear As…
Room availability check
Programming
Web Development
12 Years Ago
by New-Reign
…=5 ; My current fucntion to check the availability is; function
dateCheck
($date1, $date2) { global $mysqli; global $roomType; $dates = $mysqli->query…
Re: Room availability check
Programming
Web Development
12 Years Ago
by New-Reign
… final solution that gives me what I need is; function
dateCheck
($date1, $date2) { global $mysqli; global $roomType; $booked = $mysqli->query…
Re: Portable application!! Need your suggestion
Programming
Software Development
14 Years Ago
by AndreRet
… String Dim InstDate As String Dim ExpDate As String Dim
DateCheck
As String Dim RetVal As String Private Declare Function RegCreateKey…;d", InstDate, ExpDate) Text4 =
DateCheck
& " Days left" If
DateCheck
> 30 Or
DateCheck
< 1 Then Me.Hide 'VB…
Re: create multiple rows based on data
Programming
Databases
15 Years Ago
by mattlightbourn
… @RecCounter Int DECLARE @Looper Int DECLARE @AdjustDay Int DECLARE @
DateCheck
varchar(2) DECLARE @curTimeDate DateTime DECLARE @curResourceName varchar(max) … @AdjustDay = @AdjustDay + 1 SET @abDate = @abDate + (@Looper+@AdjustDay) SET @
DateCheck
= (SELECT dbo.Calendar.WorkingDay FROM dbo.Calendar WHERE dbo.Calendar…
Re: date of birth validation
Programming
Web Development
12 Years Ago
by onofej
…year please enter only year."; } } //ddate of birth function
dateCheck
($date,$format='d/m/Y'){ $parts = date_parse_from_format($format, $date);… ? true : false; } $date = "13-12-2012"; echo (
dateCheck
($date,'d-m-Y')) ? "Date $date is true"…
Re: create multiple rows based on data
Programming
Databases
15 Years Ago
by mattlightbourn
….Days_pw) SET @RecCounter = dbo.Absenceview.NumRecords SET @AdjustDay = 0 SET @
DateCheck
= 'N' IF dbo.Absencerview.AbHrs / @ AbsenceHours = RecCounter SET @LastRec = @… WorkDay by looking up proposed date in dbo.Calendar WHILE @
DateCheck
= 'N' SET @adDate = DATEADD(day, (@Looper+@AdjustDay), @adDate) …
Re: date of birth validation
Programming
Web Development
12 Years Ago
by diafol
…a simple function and use: <?php function
dateCheck
($date,$format='d/m/Y'){ $parts = date_parse_from_format… } $date = "13-12-2012"; echo (
dateCheck
($date,'d-m-Y')) ? "Date $date is true… $date2 = "18/09/2011"; echo (
dateCheck
($date2)) ? "Date $date2 is true" :…
Re: date of birth validation
Programming
Web Development
12 Years Ago
by onofej
…not a valid year please enter only year."; } } function
dateCheck
($date,$format='d/m/Y'){ //line 149 $parts = date_parse_from_format($format…year'])) ? true : false; } $date = "13-12-2012"; echo (
dateCheck
($date,'d-m-Y')) ? "Date $date is true"…
Re: Retrieve html/DOM using Selenium/PHPUnit and PHP/cURL
Programming
Web Development
10 Years Ago
by PsychicTide
…= "http://XXX.XXX.XXX.XX/search.aspx"; $
dateCheck
= $dateParam = date('m').'%2F'.date('d').'%2F'.date('Y…;__EVENTARGUMENT=&__VIEWSTATE='.$viewState.'&__EVENTVALIDATION='.$validation.'&txtStartDate='.$
dateCheck
.'&txtThruDate='.$
dateCheck
.'&btnSearch=Search'); $ch = curl_init( $url ); …
Re: Stored Procedure to compare dates
Programming
Databases
15 Years Ago
by verbalurbs
… errors. So I tried this as well: [CODE]create procedure
dateCheck
@App_Date datetime as select * from Derma_Constultants dc join Appointments app… the error message: Msg 102, Level 15, State 1, Procedure
dateCheck
, Line 8 Incorrect syntax near '@App_Date'.
Re: PHP shows live thumbnail
Programming
Web Development
14 Years Ago
by diafol
… that may work would be to have a new page (
datecheck
.php) in the remote sites with the following data: [CODE…, call this: [CODE]$site1LastUpdate = file_get_contents("http://www.site1.com/
datecheck
.php");[/CODE] Your host needs to allow file_get_contents from…
Re: date of birth validation
Programming
Web Development
12 Years Ago
by madCoder
… trueDate 18/09/2011 is true Fatal error: Cannot redeclare
dateCheck
() (previously declared in C:\Users\0382\xampp\htdocs\dia\source…\Login.php on line 149 You've declared the function,
dateCheck
() within a loop. Define the function above the loop. Another…
Re: Retrieve html/DOM using Selenium/PHPUnit and PHP/cURL
Programming
Web Development
10 Years Ago
by PsychicTide
…;); $url = "http://XXX.XXX.XXX.XX/search.aspx"; $
dateCheck
= $dateParam; $ch = curl_init($url); ... Leads into the first code segment… I posted... Note: also fixed the
dateCheck
variable to correspond with dateParam like it should have
Re: PHP shows live thumbnail
Programming
Web Development
14 Years Ago
by diafol
If you have more than one page in one website, then you can add them to the same
datecheck
.php file, to avoid making to many calls.
Re: get html element value using php
Programming
Web Development
18 Years Ago
by phper
Hi! Have you tried using $_REQUEST['date'] as the new date seems to be placed in the address bar. PHP should read it from there.
Re: get html element value using php
Programming
Web Development
18 Years Ago
by mikesowerbutts
not sure why it posted my original post again, currently i am using $_GET['date'] to get today's date (which is retreived by a js function on a prev page) but then when i call the calendar the calendar js file doesnt refresh the page when it updates the date (which is where the problem lies) so i cant use $_GET at the mo to get the new date (as it …
Re: get html element value using php
Programming
Web Development
18 Years Ago
by digital-ether
[QUOTE=mikesowerbutts;346236]not sure why it posted my original post again, currently i am using $_GET['date'] to get today's date (which is retreived by a js function on a prev page) but then when i call the calendar the calendar js file doesnt refresh the page when it updates the date (which is where the problem lies) so i cant use $_GET at the …
Re: Working with files in os.walk
Programming
Software Development
16 Years Ago
by woooee
[QUOTE] By simply adding the extra print statements[/QUOTE]That solves a lot of problems. You can also use os.path.walk with a callback.[CODE]def processDirectory ( args, dirname, filenames ): print 'Directory',dirname for filename in filenames:…
Re: Adding to a date, checking if past expiration date
Programming
Software Development
14 Years Ago
by woooee
[QUOTE=;][/QUOTE] You can easily convert a date to a datetime object. I would suggest a function which you pass the date, shelf life, and date entered by the user. There are timedelta examples in the [URL=http://docs.python.org/library/datetime.html]docs[/URL]. Also, datetime objects can be subtracted from each other and can be compared (…
Re: Form not showing correctly....Please read inside.
Programming
Software Development
13 Years Ago
by codeorder
See if this helps. File Menu/Project/"your app's name" Properties.../Application tab. .Set "Startup form:" to your Form, not Form1.
Re: Form not showing correctly....Please read inside.
Programming
Software Development
13 Years Ago
by TheMightySpud
Thanks for the reply, Already checked that :-/ It's really weird as there isn't a 'Form1' in my project. :-/
Re: Form not showing correctly....Please read inside.
Programming
Software Development
13 Years Ago
by codeorder
LOL. The mysterious Form1. :D Your project might have gotten bugged somehow since vb.net does tend to come up with a few bugs here and there. Suggestion: Try to create a new project.
Re: Form not showing correctly....Please read inside.
Programming
Software Development
13 Years Ago
by sandeepparekh9
i think your InitializeComponent() method in designer is not being called correctly , that's why there is no controls in your form.. check the method.
1
2
Next
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC