Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Calendar/Date Picker


I have searched for hours on end trying to find the perfect calendar. I would like one that:

1. Displays the selected date into drop-down boxes e.g 1 for day, 1 for month and 1 for year.

2. These drop down boxes can then be saved to database

3. Anything else goes really, as long as it looks good.




View Complete Forum Thread with Replies

Related Forum Messages:
Date Picker!
Im in the middle of a building my 1st Php Website (just for education ) and need Help with a Datepicker, What i need is either Javascript or an Easy Way to do it in php..

I did make a Quick Pull Down menu that put in the next 7 Days but I dont know if its dreamweaver or what but when i tried to copy it to another page it got corrupted & the php and shows the actual php code and not the Resulting Date?

so although my scruffy attempt works im sure there is a better way using a real Datepicker..

what i need is a Picker that shows this in the forms box when date selected:-
Day - Date - Month Year ie ("Saturday 4th Feb 2006").

View Replies !
Date Picker Control
Want some help in embedding Date picker control in my php script.
I have a box where users can enter date, but I want to modify it so that user can click on the calender displayed next to the box and the date selected will be displayed in the box. Any clues how this can be achieved in PHP.

View Replies !
Calender / Date Picker Script
I have been looking for a script to display a calender / date picker within my web page to be able to select a date from.  Different from the ones I have found, I want to be able jump back and forward through months / years without having to reload the page.  I guess this will probably done using somthing client side such as javascript or CSS?  Can anybody give poitn me to one or give me something to start from?

View Replies !
Date Calendar
At present i have reports that when added include the DATETIME stamp, which are placed in a column called date_booked.

I have also setup search functions for when certain columns equal a certain variable show them etc. What i want to do is have a calender, and have it so i can select the date on the calender and it will search all the date_booked, and show any results.

View Replies !
Selet Date From Calendar
To give you the background, this is a page for booking jobs. It ranges from client name, to location, to machine , then i need the date when the job is to be carried out. So i want to be able to have a little calendar, and be able to go through select the date and it will then input that into the database when i submit the book job form. So pretty much everyday is linkable to a value that is in the format of DATETIME. Possible?

View Replies !
Select Date From Calendar
I'm creating a simple form to collect some information from visitors, however i'd like to use a small calendar where the visitors can select a specific day.

View Replies !
Problem Changing Date In Calendar
It's a calendar. You see the current date and when clicking on an other day of the week it should change the date, this works, BUT if you change the date again you don't geet the right day. Code:

View Replies !
Calendar To Pass Date As Variable / Address Bar
I'm looking for a calendar where I can simply browse the next | Previous months, and then when I click on a date in the calendar it simply passes the date clicked on to the address bar so if I clicked on today's date it would pass something like:- Code:

View Replies !
Calendar Based On User Computer Date
how to create Calendar (current month) based on user computer date & time? If this is difficult to create, how to create calendar (current month) based on server date & time?

View Replies !
Writing And Searching Calendar Date With Mysql
i am trying to write an appartment booking script I have this form with two text fields with a date in it and write this to a database for example:

my appartment is booked for 01-01-2005 till 01-02-2005

how can someone search the database for dates that are booked or not booked

so if someone searches for 01-01-2005 till 01-02-2005 or parts of this period then the text "appartment is booked" must appear else the text "appatment is free" must appair

what should the code look like for writing the dates to the database and what should te code look like for searching the database.

View Replies !
Auto Delete Date Based Calendar Events
Out of both wanting to improve my PHP skills and necessity, I created my own small CMS for a non-profit site I am involved with. One of the features I have is an event calendar where other users can submit  events, which then go into a "holding tank" until I can approve or deleted them. It's working great and everyone is loving it... but I have discovered one issue. When the date of the event passes, I have to log into the admin area and manually remove it. I am actually not deleting it from the database but changing a field variable and archiving it for our records.

I have been trying the past few days to come up with the necessary PHP to automatically check the current date (today's date) against all the calendar events and remove ones that have already happened. I could then hook this up to a CHRON action in my hosting CPanel and call it a day - at least that is how it all plays out in my head. 

I imagine in order to point me in the right direction you will need some information about my database.

View Replies !
File Picker
I am needing a pop-up window to select a file and have its path and file name pasted in a form field. Very similar to a date picker, but for files within a network. Does anyone know any javascript or PHP code that I can use ?

View Replies !
Time Picker
I am working on a project where the user need to record events that had taken place for examola:

date_of_event eg 31-01-2006 (dd-mm-yyyy)
time_ of_event eg 03:15 pm (hh:mm)

I had seen and used script where I can pick a date date picker but (may there is) I had not come across a tume picker.

View Replies !
Only Time Picker
Can someone give me a url of a time picker? I found a lot of date/time picker but no timepicker alone. I just want a time picker.

View Replies !
File Picker For Input
I posted something about this originally in the javascript forum, but I think it would have been better suited here. Guessing php for the file/directory browsing and js to pass the value to the form. I have a form and on that form is an input field that needs a path & filename. I'm afraid the user will mistype when entering, and would like for them to beable to use a file picker to browse the directories and select the file, passing that value to the input field.

View Replies !
Time Picker That Defaults To Current
I am wanting a time picker that default to the current time. I want to use code like this, but don't quite know how to make it default. Any suggestions? Code:

View Replies !
Get The Todays Date- Yesterdays Date And Tomorrows Date
I get the todays date- yesterdays date and tomorrows date, like so:

$yesterday = date ("Y-m-d", mktime (0,0,0,date("m"),(date("d")-1),date("Y")));

$tomorrow = date ("Y-m-d", mktime (0,0,0,date("m"),(date("d")+1),date("Y")));

$actualdate = date("Y-m-d");

Which returns the date in the format "200-11-13" But I need to add 13 hours to all three - how owuld I do this?

View Replies !
Pop-up Calendar
Where can I find a script for a pop-up calendar for a user to select a date to enter in a field.

View Replies !
PHP 5 Calendar
Is there PHP5 calendaring software that will allow you to import events
from other calendars? For example, I have a Master project calendar
that my satellite sites want to import. They import the calendar and
now they have all my dates and theirs as well.

View Replies !
Calendar
The only problem is where to start. and for those who have done it before can you give me any insight. or if anybody knows of a nice calendar script that I could start with. Most sites of those small php calendars, when I really want a big calendar that fills up most of the page.

View Replies !
Pop Up Calendar
I hv a php script lets say a.php which has several txt boxes and another txt box with an icon at its side. when clicking the icon, it pops up a javascript calendar for the user to select a required date. once selected, the script will close and the date reflected on a.php.

now the problem comes after this. on this php page, there is a submit button which will go to page b.php (eg). on page b.php there is a back button where when when pressed, all records in previous page is gone and i have to re-insert details all over again. The funny thing is that in page a.php, if i did not use the calendar at all, when i click the back button in b.php is works fine.

View Replies !
Calendar Using PHP
Is it possible to make a calendar in PHP rather than hard-coding it in HTML? For example, I'm looking to make one for June 2007 and on each line I'd like to have the day, the date and then a checkbox containing the date, so for example:

<input type="checkbox" name="date" value="01062007" /> Tues. 1st.

View Replies !
Web Calendar
I am part of the web development team at a school in England.  Currently, the school calendar (which usually includes dates for starts and ends of terms, sports days, parents evenings, teacher meetings etc.) is done via a spreadsheet and simply printed off and given to everyone. Code:

View Replies !
Making A Calendar
What is the principle behind a calendar? I have some ideas but not 100% sure.

or is it that simple make 12 tables in the database? i don't think that's true tho. i'm hoping to use the least of the database, don't know why. say it was a daily calendar that would be 365 tables. also it's not for one year.

then again i've no idea what i'm talking about.

any help, links would be appreciated.

View Replies !
Another Calendar Dilemma
I coded a calendar a while back with sample code from here. Then the user wanted the calendar to span into the next month and I did this. Now the calendar needs to span into the previous and possibly next month...it called a bidmonth. I get the actual dates from a table. So for example bidmonth December 06 spans from November 27, 2006 to December 31, 2006. The table stores the bidmonthbegindate, bidmonthenddate, and the actual bidmonth, in this case 12, as a number.

I am not sure if it could span 3 months but I would like to code for it just in case. Below is the code I had that allows for a bid month to span into the NEXT month. I need to change it and I am in way over my head. Can someone help? PHP Code:

View Replies !
Calendar In A Pop Up Window
I have a simple calendar script which displays a calendar on my website and at present, you enter dates using a seperate xml file.

If you enter an event for a certain date, the event is displayed next to the date. This is fine, all works great, but what I would like to do is actually display the event in a pop-up window.

So you would click on the date , a pop-up window would appear with the event displayed.
PHP Code:
    

View Replies !
Next/prev In A Calendar
i think this works, but i have to put two dates for one event like January 2003 is 01 2003 and 13 2002. PHP Code:

View Replies !
How To Make A Calendar
how can i make a calendar on my php page?

View Replies !
Online Calendar
some quick facts to get ya started: it supports multiple calendars, custom fields within calendars. users/groups and permissions. it will include: import/export to .ics format, event validation, and searching.

View Replies !
Calendar Login_check
I would like to use a PHP calendar in one of my sites that lets a user log on to the admin panel through a pwd (to change states of dates etc...). However, it seems like the login_check has to be done over and over again ('ok' isn't passed on from one page to the other - session variable ?).

The calendar I would like to use can be found here. There you can find all related files.
The admin panel access page I use is here (pwd = 'enter')

View Replies !
Create A Calendar
I'm trying to create a calendar and have this script..

<?php

function generate_calendar($year, $month, $days = array(), $day_name_length = 3, $month_href = NULL, $first_day = 0, $pn = array())
{
$time = time();
echo generate_calendar(date('Y', $time), date('n', $time));}
?>

I am calling a function from within a function so it is printing a blank page :( where do I need to place this code in order for it to work?....

echo generate_calendar(date('Y', $time), date('n', $time));}

View Replies !
Simplest Php Web Calendar?
Can someone recommend a very simple script to produce a web calendar?

I just want something where I can select a month and year and it produces
a very basic HTML table, 7 columns across, one month at a time, with the
dates filled in.

No frills, no nothing, just pure, month producing code.

View Replies !
Calendar Program (help)
I have been solving algorithms with php, just to get practice. But my
new company
asked to do the following program in php, msql within 6 hours which I
have got stuck.
The task is as follows:

task:

"make a calendar using php and mysql where user can insert some
messages
and then see the day event."

I thought of doing a calendar on the browser where, in each cell there
is a button.
If button is clicked then a new textbox that imputes some message from
the user
and stores it in the mysql.

I don't know weather the above idea is possible.

Can any one give me a idea to approach the above problem?
Any link for UI in php? Is php event driven?

View Replies !
PHP, MySQL Calendar
I wanted to run this idea past you. I am looking to create a PHP Calendar with a MySQL Backend. How is this going to work? I have NOOO idea!! Here is what I need it for:

I am a resident assistant, and am looking to make a calendar system to schedule duty. Only one person is on duty during the weekdays (Mon, Tues, Wed, Thurs, Sun) and two people are on duty during the Weekends (Fri, Sat).

There needs to be an input system where one RA can go in and say that Person A is on duty on Weekday X of Month Y of Year Z or Person A and Person B are on duty on Weekend Day X of Month Y or Year Z.

I also want to be able to keep track of how many weekdays/weekend days each person has for each month.

I would like to be able to display all of this in a calendar (which can be an html table or whatever).

Does anyone have any ideas as to how I can implement this? (sql table columns, dealing with different amounts of days in each month, etc.)?

View Replies !
Calendar Output
I have been trying to use the code below (found on someone's blog) to create a calendar. What i have problems with is working out how to display the array in an actual calander layout. with the dates & days etc all lineing up. Code:

View Replies !
Recurring Calendar
Need to build a calendar module with the ability to handle recurring events. Anyone suggest some info on how to go about handling this?

View Replies !
Add An Event's Calendar
Im trying to add an event's calendar to my website. I have spent all day trying to get Obsidian's php event calendar to work but with no success at all. What I need is something very very similar to the birthday calendar available from the top nav bar of this forum.

I have a reservation table with reservations that have a 'CollectionDate' and a 'ReturnDate'. I'd like to display each record on both of those dates. Any advice/tips/ knowledge of a good script and its whereabouts would be fantastic!

View Replies !
Calendar Buttons
I want to make a calendar button in order to choose a date in fact i want 2, date from and date to.

View Replies !
PHP Availability Calendar
Do you guys know somewhere where i can find a script which creates a Calendar which can be controled via a database, so if a date is "occupied" then the date will be marked at BOOKED.

View Replies !
Calendar Type
Have worked briefly with PHP, though as I used to install cracks to forums (I have an extensive knowledge of scripting language and can generally pick up coding languages quite quickly)

I'm looking to find a freeware calendar database (or help with how to set up my own using cPanel / Fantastico and PHP).

I work in a venue and would be looking to export the months event information in tabular form, but also to have a DIV layer display that day's event.  Any idea what would be the best way to go about this?

View Replies !
My Calendar Issues
I am having a slight problem with the following calendar code. What I would like it to do is start the 1st on the corresponding day of the week. So far I have not been able to get my code to correspond. If anyone here is able to assist with this small issue I would greatly appreciate it. Here is the glorious code.....

View Replies !
Problem With Calendar
I am having a problem selecting data from a table where the date in the table equals the date I clicked in the calendar. I am sure it has to do with the SQL query, and I am not sure how to associate the date of the calendar to the date recorded in the table. The date_string table column is the type 'date'. What am I doing wrong? This is the code which links the numbered day to another page:

echo ' <a href="depday.php?year='.$Year.'&month='.$Month.'&day='.$calendar_day.'"> '.$calendar_day,'</a> '

Here is my current SQL query..

$sqlquery = "SELECT id, diwtitle, date_string FROM diw_alpha WHERE '$calendar_day' = date_string ORDER BY date_string";

View Replies !
Calendar Framework
anyone knows of any simple calendar frameworks for PHP? I was thinking about something like Java and ASPs calendar objects. I don't need a whole event planner, just something that can easily give me a month with all the days and indicate if there is a previous and next month within some range I can specify. Also I would like to extract week number and day names. Does anyone get what I'm saying and do you know any software that would fit my need without being overkill?

View Replies !
Calendar Query
I have a form which you have to select a engineer, when you hit submit it brings up the calender. The trouble is, is that the calender displays the correct month but when I click next it won't go to the next month. Here's the code:

<?
// Check for a Month Change submission
if ($submit)
{
// Subtract one from the month for previous, add one for next
if ($submit == "Prev")
{
$month_now--;
}
else
{
$month_now++;
}

$date = getdate(mktime(0,0,0,$month_now,1,$year_now));......................

View Replies !
Availability Calendar
where I could get a PHP based availability calendar for a holiday apartment website? I currently have the calendar as a html tables based affair that is updated via DW, but I am trying to migrate the site to PHP and wish to introduce a web based calendar that can be updated online.

I am looking for something similar to http://www.lanzarotebreaks.com/vill...ar.php/3882.htm that displays in a table format
but is controlled by PHP/MySQL, would like it to have online admin functionality. Am willing to learn how to handcode one if there are any good tutorials. Any help is gratefully received.

View Replies !
Calendar Script
I have this great calendar script, which is almost perfect. All I want is:

1. "Duration" under the add event. I want it to skip weekends. For example: if I put 16 under "Duration". I don't want it to caunt the weekends to.

2. I want to-be able to see a statistics of all the categories per user. For example: If I have one cat. Vacation and another one called Working from home. I want to-be able to see a statistics of how many days User 1 was in Vacation and how many days he was working from home.

View Replies !
Calendar Dates
Here is my problem: I would like to set up a graphical representation of a monthly calendar. problem: how do I determine what day of the week is the first of the month? 

View Replies !
Calendar Control
Can anyone give recommendations for a simple method of inserting a small, neat, pop-up calendar control into a php page?

View Replies !
Represent A Calendar
What I want to do is represent a calander in my database. Their should be one entery for each day. However short of having a entery in my table for every day of the year is their a better way to represent this structure in the database? The only way I can think is to add say 1000 enteries in a table, each entery representing a day.

View Replies !
Looking For Calendar Script
I'm looking for a good free calendar script for my Church or at the very least a nice cheap one (cheap as in $20). Does anyone know of any?

View Replies !
Calendar Question
I'm working on making my first calendar for my website. It's working great, except that theres' one change I'd like to make and I can't for the life of my figure out how.

Basically, I want the calendar to have 3 categories of events: Meeting, Travel and ProjectDue. Right now, it works perfectly, but only for 1 category. I just want to split up the code to say Code:

View Replies !
I'm Making A Calendar
I'm making a php calendar and I can't get the numbers automatic in the tables. Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved