Click here to Skip to main content
15,917,321 members
Everything / Calendar

Calendar

calendar

Great Reads

by Schatak
A very basic description about Google Calender API to use in your project. This tip will cover API with JavaScript.
by ToughDev
Code to set and get current time using the RTCC module on PIC24
by essentialSQL
How to calculate the median value using SQL
by NightWizzard
Explained step by step

Latest Articles

by ToughDev
Code to set and get current time using the RTCC module on PIC24
by essentialSQL
How to calculate the median value using SQL
by NightWizzard
Explained step by step
by Schatak
A very basic description about Google Calender API to use in your project. This tip will cover API with JavaScript.

All Articles

Sort by Score

Calendar 

19 Aug 2015 by Schatak
A very basic description about Google Calender API to use in your project. This tip will cover API with JavaScript.
17 Feb 2017 by Bryian Tan
Ok, the undefined error because of the key naming, the key name is "DTSTART;TZID=America/New_York" and not "DTSTART". Based on the circumstances you describe, here is an alternative to access the array value using key like/startsWith. Now, your next assignment is to figure out how to display the...
7 Jul 2015 by Anil Vaghasiya
I think this article help to you.ViewState and Postback[^]
7 Feb 2016 by Member 957520
I have a web page with 3 controls:* Calendar control* Gridview control for games (uses SqlDataSource1, set to a stored procedure that requires 1 parameter: date)* Gridview control for videos (uses SqlDataSource2, set to a stored procedure that required 1 parameter: gameID)This is my...
6 Dec 2016 by CHill60
The VBA compiler is not case sensitive (unfortunately).I can find nowhere in your code where dDate is either declared or initialised - if it is null, empty or whatever then you will be not be setting either the Start or End for the appointment and will generate the error you are...
17 Feb 2017 by Peter Leow
It is as simple as adding a square [], i.e. myObj.cars[i]["DTEND;TZID=America/New_York"]Nevertheless, try to avoid unusual keys like this as it is going to break those usual JSON handling code.
21 Jun 2018 by User 7429338
Consider an event running from 10 March to 12 March, with daylight saving time going into effect on 11 March. In that case the time zone at the start of a Los Angeles event would be PST (Pacific Standard Time) and at the end it would be PDT (Pacific Daylight Time).
11 Dec 2018 by Vincent Maverick Durano
Your method GetEvents() will never be hit because it's marked as private. You need atleast a public method. Since you were using jQuery AJAX to communicate with your data, I would suggest you to take a look at this article for your reference: Many ways to communicate with your database using...
23 Jun 2014 by Grytpype
Hi, I'm looking to create a calendar from an RSS / XML feed that allows the user to toggle which type of events are shown, preferably in javascript.The idea would be to have a month-view calendar that loads a series of events with different categories (e.g. football, hockey, tennis etc.) and...
26 Jun 2014 by Bhanu Pratap Verma
Dear All,I want to display a popup message when user place the mouse on a date in the calender control.Popup is showing but is blinking very fast.Massage having hyperlink which redirect to other page.Please help me ASAP.Aspx Code:
29 Jun 2014 by User 10878480
I have got a doubt in Calendar control. I don't know how to select all the second week of Saturday in a year. I have to use Calendar control. Its forecolor should be in Red color. Should i use bool flag for selecting second week of Saturday?protected void Calendar1_DayRender(object sender,...
29 Jun 2014 by CHill60
You need to replace your check for "Saturday" with a check for 2nd Saturday in a year...e.g.protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { CalendarDay dateToCheck = e.Day; if(Is2ndSaturday(dateToCheck.Date)) { e.Cell.BackColor =...
10 Aug 2014 by Richard MacCutchan
Start at http://www.w3schools.com/js/[^].
17 Aug 2014 by Balav4
HiTry thisModule Example Public Sub Main() Dim dateValue As Date = #6/11/2008# Console.WriteLine(dateValue.ToString("ddd")) End Sub End Module Check this...
26 Aug 2014 by Grant Weatherston
Hi Guys, i've been using the FullCalendar.js plugin for a long time now, but we've just decided to add language support to one of our sites that utilises this plugin.The documentation for this plugin @ http://arshaw.com/fullcalendar/docs/text/lang/[^]says that i just need to add the js...
4 Sep 2014 by Vindhyachal_Kumar
use this code.
16 Nov 2014 by Ddev5a2
Hi,my code is not allowing me to pass Non-English characters to below function and contype is "text/calender" Attachment avCal = Attachment.CreateAttachmentFromString(str.ToString(), contype);is the any fix for this ?Thanks
17 Nov 2014 by Ddev5a2
by adding below i resolved Attachment avCal = Attachment.CreateAttachmentFromString(str.ToString(), filename+ ".ics");Thank you so much.
21 Nov 2014 by Ddev5a2
Hi,I am able to cancel single reservation with METHOD:CANCEL and STATUS:CANCELLED adding to .ics file.but when i am trying to cancel recurring reservation, it is overwriting the existing with new subject and still showing in outlook.any idea, how to cancel recurring reservation in...
27 Nov 2014 by PIEBALDconsult
Personne personne1 = new Personne("Voronitski","Viktor",1986,Calendar.FEBRUARY,25,"Slavinskogo"); ^ ^ ^ -------------------------0) You're missing some quotes1) You provide three parts of a date, not a date.
8 Dec 2014 by rahulDer
manage to reach upto this but now i want to highlight Current date .and want to add linkbutton nstead of just text in gridview rows.Plz do suggest,here is my code: I have button which generate grid with calender format protected void Button1_Click(object sender, EventArgs e) { ...
2 Jan 2015 by Ddev5a2
Hi,I am sending a request from my .net application(C#) to create recurring meeting invite in outlook.the meeting invite was showing one hour off during day light saving (march 8th 2015 to 1st nov 2015).remaining time, my calender shows correct time and i am sending below code to...
8 Jan 2015 by Monu Thomas
I am using sharepoint 2010 calender to create events and add attendees. It works fine when using Mozilla Firefox. But When using Google chrome and try to add attendees it is showing multiple entries for each person. Is there any solution to avoid this?
5 Feb 2015 by srikanth_ic
Hi,PlZz Help me any one.Here my problem is I want two date filed as “From” and “To”. “From” must me with is 7 days before today (if today is 6th feb 2015 it accepts only 31st jan 2015 to 6th feb 2015) and “To” date must be today or yesterday (5th feb 2015 or 6th feb 2015). If I select...
15 Feb 2015 by srikanth_ic
I found answer to this.http://forums.asp.net/t/2033949.aspx?asp+net+Validating+two+date+fields+when+1st+must+be+within+7days+before+today+2nd+is+today+or+yesterday
9 Mar 2015 by ZurdoDev
I would suggest contacting google to ask them about their API.
10 Mar 2015 by Shivangi_K
Hi I have a page which displays the dates on a calendar which are picked from the database. For eg: If in the particular table, we have 3rd,4th and 5th March inserted. On the page, 3rd,4th and 5th March will be colored in red. Now I want to add another functionality to the calendar. I...
10 Mar 2015 by ZurdoDev
According to this, http://forums.asp.net/t/1581880.aspx?+asp+Calendar+how+to+handle+OnClick+on+client+side+[^], it can't be done with this control. However, if you know jQuery you may be able to do it. Run the calendar and then view the source and see if the dates all have a certain class...
10 Mar 2015 by Shivangi_K
I have gotten a better way to do it. I added a tooltip in the cell controls of the calendar and now, instead of an alert box, I am getting my text when we hover the mouse over the date. Code that I used below: e.Cell.ToolTip = "hello Today is a holiday";Added this command in the ...
18 Apr 2015 by Sebastiaan Meijerink
Just an idea.Why not pick a random week. Say week 2 of this year.I'm going to assume you use the agendaWeek view. If not you could come up with a simulair solution for any of the other views.This runs from;1/5/2015 to 9/5/2015 (assuming a 5 day event) so weekends=falseDo not...
18 Apr 2015 by Sebastiaan Meijerink
We'll that is a simulair issue.A month will also work with this strategy.If you have take a pre defined month, you can still figure out what dates/time combinations to create you're events.When looking a any month, this jquery will number them form 1 to...
30 Apr 2015 by Member 11313120
my code can only view past week and next week. but I want to see all the previous and future weeks. Thus the two features will function as calendar functions.will be really grateful if you respond with codeshere are my codsfunction PreviousWeek() { function...
5 May 2015 by Abhinav S
Customize the standard JQuery calendar plugin -How to: Customizing and Theming jQuery UI Datepicker[^]Theming and Customization jQuery Date Picker Control [^]How to Style Your Own jQuery UI Calendar[^]
28 May 2015 by Aniket Samanta
THis is been resolved. I have to change in the CSS file to resolve this issue.Thanks,Aniket
10 Jan 2016 by Gowtham Rajamanickam
Try this SharePoint – Color-Coding Your Calendar By Category | eImagine Technology Group[^]
2 Mar 2016 by vJay Yadav
I am testing my application in UK timezone (UTC) Dublin, Edinburgh, Lisbon, London.The DST (Daylight saving time) in UK starts on Last Sunday of March i.e. 27-Mar-2016.I am passing unix timestamp to Javascript Date object. It display normal date time but when UK DST is in effect, the time is...
2 Mar 2016 by DotNetSteve
Check out this js library:Moment.js | Home[^]andMoment Timezone | Home[^]
4 May 2016 by Member 12503094
Is there really a way how can my android apps call user input data from localstorage to the calendar (my current calendar plugin is fullCalendar)The example story for my problem is like this: "The user fill in the form provided and then all the user input will be saved on the localstorage....
7 Jun 2016 by Crixalis Paul
Good Morning.I am developing a program in VB.Net and Its called Scheduling System, I am almost done developing it. Saving Information,Updating them and Giving Schedules to each Employee using the System but Today my Prof. ask me that he wants to see Persons with Schedule`s in a Calendar...
7 Jun 2016 by CHill60
There are paid for controls you could buy or you could write a custom control.Have a look at this CodeProject article for a good example Calendar.NET [^][EDIT] - And here is a CP article on DataBinding that control ... Implementing complex data binding in custom controls[^]
20 Jun 2016 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Simple changes and you should be okay.Refer - [Demo] Disable Future Dates and Past Years - JSFiddle[^].
6 Jul 2016 by Maciej Los
I'd suggest to read this article on MSDN KB: Compiler Error CS0103[^], which may help you to find the reason of error message.Other resources:c# - The name 'controlname' does not exist in the current context - Stack Overflow[^]c# - Name does not exist in the current context - Stack...
13 Oct 2016 by Member 12727566
I have created a calendar file(.ics) by using following code. i got this code by searching it in google.string[] contents = { "BEGIN:VCALENDAR", "PRODID:-//Flo Inc.//FloSoft//EN", "BEGIN:VEVENT", "DTSTART:" +...
13 Oct 2016 by ZurdoDev
See File Methods (System.IO)[^]. You can use AppendAllLines.
6 Dec 2016 by Andy Lanng
It looks like all of your casing is off. User this segment:With objAppointment .Start = DateValue(dDate) + TimeValue("08:00") .End = DateValue(dDate) + TimeValue("09:00") .AllDayEvent = False .Subject = sSubject ...
16 Feb 2017 by Member 12974741
Hi, It would be helpful if expertise can provide a suggestion on how to implement below functionality.I have an ics file ... as ics has whole information including unrequired evnts details....I need to get the ONLY exact events from the ics(means the events what i see when we open ics in...
17 Feb 2017 by Member 12974741
Hi Ppl,I am trying to loop the Json ouptut into for loop and store them into another array as i need only specific values from Json....here is below code... i am unable to fetch DTSTART,DTEND fields.. i guess its because of naming.. i wont be able to change the param names as i receive...
27 Jun 2017 by Kornfeld Eliyahu Peter
Google Calendar API  |  Google Developers[^] API Reference  |  Google Calendar API  |  Google Developers[^]
25 Dec 2017 by Bryian Tan
Based on what presented, the textbox id is datepicker, the code should be $_POST['datepicker'] instead of $_POST['date']
18 Feb 2018 by faiqaa
In my program I need to be able to set appointments on calendar and receive reminders when the date of the ones I've set is coming closer, to save the details I am using text files. I have tried using the code below the problem is that whenever I try to save details related to an appointment the...
18 Feb 2018 by RickZeeland
This does not look ok: If File.Exists(t & "C:\Users\Windows 7 User\Desktop\bookings.txt") it should be something like: If File.Exists("C:\Users\Windows 7 User\Desktop\bookings" & t & ".txt") And even better: If File.Exists(My.Computer.FileSystem.SpecialDirectories.Desktop & "\bookings" & t &...
21 Mar 2018 by Member 8583441
I have a input type text field with imagebutton and AspCalendar controls in an asp.net project. When i am clicking the image button then the calendar visibility false in pageload event and also getting the error "Fill out required fields" from top to bottom in between calendar controls appears. ...
21 Mar 2018 by Member 8583441
Problem is fixed.... The solution is here is only HTML input tags..... I just deleted input tags and changed to asp textbox and fixed the problem. Now it is firing as expected and previously i am having Updatepanel. Inside Updatepanel i am having placeholder also. Inside placeholder there is a...
5 Jun 2018 by Christopher Fernandes
I am developing my own Calendar scheduler app in ASP.net web forms using C# and SQL Server 2012. I just read an article on Github repository about how we should always use RRule for such apps. I am curious to know if the RRules formats in iCal, Google Calendar & Outlook and any other major...
21 Jun 2018 by Christopher Fernandes
I know it is ideal practice to store event start & end datetime values in the database table by converting from local time to UTC time. And then while displaying it on the calendar convert it back to the local time or user prefered timezone. But I can't understand why is Google storing timezone...
5 Mar 2020 by Lania Fatah
I want to disable some day from date picker I have an array that store the days I want to disable. so i mean that i want disable for example 3 day (Sunday,Friday,Wednesday) how can i do this please help me.... I have this code to disable the...
8 Oct 2020 by Komang Putra
I need help to fix this problem, i want a disable past day or future day in my app, here is my code final Calendar today = Calendar.getInstance(); today.add(Calendar.DATE, -1); today.setTimeInMillis(System.currentTimeMillis() -...
2 Aug 2021 by KYTrailer
I am currently on a project where I am adding an app.config to a company's c# projects. Basic process followed to accomplish: > Copy entire solution and all sub-folders to new directory. > Change some custom dlls to new references > Resolve...
2 Aug 2021 by Richard MacCutchan
I just checked this and you need to ensure the following statement is in your Main method of Program.cs: Application.EnableVisualStyles();
28 Apr 2022 by asaad kittaneh
I am trying to select data from the sqllite3 database and insert them into the tkcalendar so the user can insert his event info (registration_check_date, car_type) and view them by clicking on the calendar specific colored date cell, I had...
28 Dec 2022 by brandon1999
I'm using the jQuery UI calendar. So right now i can select, save, display and remove the dates but i want to show the saved dates on the calendar (saved dates should always be active on the calendar with a different color), and save them...
12 Jan 2023 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
12 Jan 2023 by Pete O'Hanlon
Initially, you can start by ignoring needing to know what day of the week you are looking at. Just use a loop and some simple DateTime arithmetic. If I were solving this using DateTime (or DateOnly in a grown up .NET version), I would consider...
2 Feb 2023 by Member 15771242
private void btnRiposi_Click(object sender, System.EventArgs e) { DateTime startDate = new DateTime(2023, 2, 2); DateTime endDate = new DateTime(2023, 12, 31); for (double loopDate =...
2 Feb 2023 by Ralf Meier
Why are you doing it so complicated ? It seams to me like a kind of a Shift-Modell. So ... you take your StartDate (this is your Shift-begin) and add 6 Days to it (that is your Off-begin). Now you add 2 Days to it and you have your new...
9 Feb 2023 by Mandy Li
Is it feasible to include Microsoft Teams information when programming an ICal file so that when the email receiver opens the file, the Microsoft Teams meeting, including a URL to join on your computer, mobile app, or room device, and all other...
25 Apr 2023 by Ddev5a2
HI All,I am trying to send .ics file as an attachment to user by creating ics file and email from C# code it self.I am able to send ICS file saving in to a local drive and attaching to email.I would like to send ics file with out saving in to any drive.help me is there any way to...
8 May 2023 by ToughDev
Code to set and get current time using the RTCC module on PIC24
29 Dec 2019 by essentialSQL
How to calculate the median value using SQL
22 Jun 2015 by Fiyaz Hasan
Building an outlook calendar app for windows phone using Live SDK
23 Dec 2017 by Afzaal Ahmad Zeeshan
You can create a new calendar control using jQuery UI. Datepicker | jQuery UI[^] For the database, you can use the PHP helpers for your database providers. For example, for MySQL and PHP you can follow this tutorial; PHP and MySQL[^].
25 Apr 2023 by Ddev5a2
Solution send Calender Invite as an attachment(.ics file) to end user. Code Starts: static void Main(string[] args) { Console.WriteLine("Welcome"); var client = new SmtpClient("smtp.gmail.com", 587) { Credentials = new...
13 Jun 2015 by Mehdi Gholam
Read these :https://code.google.com/p/android/issues/detail?id=34932[^]http://stackoverflow.com/questions/16412549/android-calendarview-font-size[^]
29 Jun 2016 by Aniket Samanta
Hi There,I am trying to develop a page using devexpress control, where a calendar control would open up in one modal pop up control. I am using the below javascript function to show the calendar control, but whenever I am trying to open the calendar control from a modal pop up, the calendar...
17 Jul 2016 by super_user
the process is i fill dropdown only with Rname and i place two calendars now i want when i select value from dropdown and select date from calendar then i want to display data on behalf of thisWhat I...
2 Feb 2023 by Member 15771242
The user needs to have an annual summary of the entitlements displayed. Rest periods are 6 days of work and 2 days of rest. Example if rest falls on Monday and Tuesday, the next ones will be Tuesday and Wednesday and so on. I have no idea how to...
8 Mar 2015 by RupeshSharmakol
I tried to integrate Google Calender Api V3 version. I got so many articles but calender is not running because google recently change his version to v3. So I cannot use also Google.GData namespace. Please any one have idea to update / delete / insert event of google calender update me.
20 Jun 2016 by super_user
i try to get current year in calendar.. now year is 2016 so i don't want past years and future years only want current year ... and also month is June or any other month so i don't future months only want current and past months . when year 2017 then in calendar must be year 2017 ..when month...
27 Jun 2017 by Christopher Fernandes
I am developing a google calendar like application for my firm. Since the employees are already using google calendar for office scheduling. What i want to be able to do is that sync events both ways from my app to google calendar and google calendar to my app. I don't want to store the...
25 Apr 2023 by Member 11633430
Instead of this line: msg.Attachments.Add(new Attachment(str.ToString(), contype));, which kept giving me an error, I wrote the contents of str to a file via... string strName = "Aname"; DateTime dt = DateTime.Now.AddHours(1); string strDate =...
10 Jun 2014 by jeremydavidc
Hi,I have a full calendar and used node.js to make my users events all update in real time. We use it for appointments.I want to add break times just like making an event in the calendar but make it with recurring options, like in the appointments.Question:Can I copy the code from...
10 Aug 2014 by scrat@1
Hello Devs,I dont know anything about javascript and have to complete following task ...Help me out...Link follows...http://postimg.org/image/kti1tfjj1/[^]Key Features should include1. Each week has 7 days from Monday to Sunday. User can move across the days using next...
18 Aug 2014 by SamuelDexter
Hello everyone. I will be very grateful for your help on this one.I am trying to find the algorithm to search the calender and derive how many lets say - 8th Mays were Fridays from 1900 - 2014.You will find out that 8th May, 1987, for instance was a Friday. etc. I will be very grateful...
27 Nov 2014 by voronitski.net
Greetings ,How to instanciate the Gregorian calendar parametrs in my main method ? I have this constructor :public Personne(String leNom,String lePrenom, GregorianCalendar laDate, Adresse lAdresse){ nom = leNom.toUpperCase(); prenom=lePrenom; ...
7 Dec 2014 by rahulDer
I have need to create calendar control in which,there are two drop downs of Month and yearWhen we select values in Month and Year dropdownlist, according dates of that month should be displayed in below table and allow user to select those dates.Please help me to do this.thank you.
17 Mar 2015 by Schatak
While running code i am getting error Error: origin_mismatchi goggled it and followed this link http://stackoverflow.com/questions/13440031/google-calendar-api-javascript-errororigin-mismatch[^]but could not anything resolved.i have feeling that this is related to URL REDIRECT URIS,...
15 Apr 2015 by yazan_AlHorani
How to use fullcalendar as an abstract calendar with no date related, for example, if I want to schedule a program with 3 weeks events, and these events are spreaded on the calendar, like "Event 1" from day 3 to day 10, and so on.I have been told that I can use fullcalendar.js, so if anyone...
5 May 2015 by Member 10184740
i want jquery plugins for calender which look like yahoo calender
7 Jul 2015 by Member 11686116
Hi,In my webform i have one calendar.once i click on date one popup will open with some fields.(button)on button click data should be added on gridview .and also that particular date events should get display on date click.how do i do this.any help...
2 Mar 2016 by Member 12230474
Hi, I have a SP 2013 list having data of start time, end time and status colour for that time period of that day. I need to show this data in calender view showing status color for different time periods. What is the best approach for it.
19 Apr 2016 by MiteshMachhi
I want to display Gujarati panchang using html or using asp.net.i am confused whether it`s data insert into database or using another external api?so, how can i display this ?i used reference URL like :http://www.baps.org/Calendar.aspxWhat I have tried:i used reference URL...
6 Dec 2016 by Samira Radwan
Hi Experts,I have a vba application which I have to maintain.I'm not really a vba expert, but trying!the application basically receives data from DB and send this data to outlook to create an appointment.the data is first displayed to the user in windows form then the user has to click...
6 Jan 2018 by Member 13591382
thank u i have solved this now loool What I have tried: google changing format youtube
28 May 2018 by jass39
I have try following code but not success. giving error. What I have tried: Event newEvent = new Event { Summary = item.CalendarString, Location = "", ...
11 Dec 2018 by Maideen Abdul Kader
Hi I do not have an idea how I can Load data into Full Calendar from MsSQL 2017 database Pls advice me Thank you Maideen What I have tried: $(document).ready(function () { var events = []; $.ajax({ type: "GET", url:...