.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Change the date format of calendar web part

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :SharePoint
 

Hi,

I have displayed summary view of calendar web part and want to change the date format from 10-24-2010 to 10-24 I don’t want to display the year can anyone help me please

Thanks




View Complete Post


More Related Resource Links

How to change the date format using AJAX calendar control tookit

  

I want to desplay date like (21-Sep-2010)



change calendar date backColor base on data from db

  

I want to  change calendar date backColor base on data from db,  I only have vistual 2003 !

on mean time I have

<asp:DataGrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 23px; POSITION: absolute; TOP: 271px"
		    runat="server" Font-Size="XX-Small" Font-Names="Verdana" AutoGenerateColumns="False" Visible="False">
		    <Columns>
           <asp:BoundColumn DataField="subject" HeaderText="Title"></asp:BoundColumn>
           <asp:BoundColumn DataField="posttimestart" HeaderText="Post date"></asp:BoundColumn>
           </Columns>
		    </asp:DataGrid>


 

Sub DayRender(ByVal source As Object, ByVal e As DayRenderEventArgs)
        Dim i As Integer
        For i = 0 To DataGrid1.Items.Count - 1
            If (DataGrid1.Items(i).Cells(1).Text = e.Day.Date) Then
                e.Cell.BackColor = Color.DarkOrange

            End If
        Next


       
    End Sub

when I click the day wich have data in db it change  color , but I want the page load it change color !

Thank you!


how to change date format

  
Hi,   I am using Oracle 10g im my asp.net project. In my select query, i want to change the format to dd/mm/yyyy hh:mm:ss from mm/dd/yyy hh:mm:ss. The field datatype is date. How can i write a query for this?

change the date rang in calendar depend on the data from db

  
if the calendar day is match with the date in db I can change the claendar 's background color  with the following code , How if I want  my calendar change color by the range of the data in my db ,  said I want the calendar change color from the starDay to endday of the event , the date rang is random what can I do ??  For Each dr In tmpds.Tables(0).Rows                    If Not dr("startDay") Is DBNull.Value Then                        Dim dtEvent As DateTime = dr("startDay").ToString

Date format in Search Core Result web part

  
Hi, I have two Site Columns PublishedDate and GlobalTitle. They have datetime and string type. These site columns are added to the Custom List. I need to show these columns in Search Core Result web part when item is searched. Because of this reason I created them as Site columns and Mapped with crawl property in SSP. After doing full crawl I can access both site columns in Search core Result. GlobalTitle is displayed properly but problem is with PublishedDate. It shows System.DateTime[] only. Can any one help me to show this in any of the date format but not like System.DateTime[]. Many Thanks in advance Chirantan

how do i change date format??

  

hey Guys,

I have a table with a date field that had date saved in the format of
yyyy-mm-dd, what i want to achieve is when I display them I want them to be displayed as an example "September 05 2009" format. can anybody help me with this??

Thank you very much.
Chetan


Calendar date format

  

Can anyone tellme how to change the calendar date format ? It is currently using the american date format and I want to change it to UK.

 

Does it use the servers regional options? If so these look to be correct.

 

Any advise on this would be greatly appreciated.

 

Many Thanks in advanced.

 

Wendy Ewens


How to change a date format in GridView?

  

Hello all,

I'm new here - just started, and already have a problem...

 

From the database - 2 of my GridView cells: From Period, and Till Period - retrieve dates in the format YYYYMM - that is: just Year and Month. For Example:

Databound
Databound
Till Period
From Period
Databound

  200008 200005

  200011 200009

 

I want for the date to be displayed in the Grid at the following format MM/YYYY - that is:

Date Format Change in GridView

  

Hello all,

I'm new here - just started, and already have a problem...


From the database - 2 of my GridView cells: From Period, and Till Period - retrieve dates in the format YYYYMM - that is: just Year and Month. For Example:

Databound
Databound
Till Period
From Period
Databound
Databound
Databound
Till Period
From Period
Databound

  200008 200005

  200011 200009

 

I want for the date to be displayed in the Grid at the following format MM/YYYY - that is:

Databound
Databound
Till Period
From Period
Databound

Regional settings (locale) in SP - is there any way to change that settings? eg. date format

  
The system I use is MOSS2007. I have regional settings set to "Polish". The default date format is yyyy-mm-dd, what is wrong because usually is dd-mm-yyyy. Is there any way to change specific regional settings? I couldn't have found it on internet. I've tried to change to "French", which gives me dd-mm-yyyy, but then eg. in calendar I have days and months in French language :)

Change date format

  

I am getting date on my aspx page as

10/22/2010 11:52:07 AM


How can i change the format so that i becomes:

22 Oct 2010 11:52 AM


Thanks



Change one date in a sharepoint 2007 calendar series linked to a meeting workspace

  
How can do I change one date of a meeting in a series linked to a meeting workspace in SharePoint 2007?

Plz help me to change date format

  


<ItemTemplate>
                <div style="width:100%; height:150px; background-color:#cae2eb;">
                    <div style="float:left; margin-left:10px; text-align:center; height:150px; width:400px; margin-top:5px;">
                        <p style="font-weight:bold; padding-top:10px;"><%#DataBinder.Eval(Container.DataItem, "EventFrom").ToString("MMM dd, yyyy")%></p>
                        <p style=&quo

Room and Equipment Reservation Template - Change Availability Date Calendar

  

I have customize the availability.aspx page and added some lookup drop-down fields to filter by additional criteria (Resource Type, Room Capacity, Location, Floor, Equipment). As i select from the drop-down it filters the list of available resources and it displays availability by the current date only, I need to see availability by the day, week and month from this screen. How do I change the display view?

Reservations/availability.aspx


Figsworld

How To Set a Date Format In GridView Using ASP.NET 2.0

  
A very common desire is to set a column of a gridview to display just the month, day and year of a DateTime type. The problem is the by default, the HtmlEncode property of the boundfield attribute (
The problem is that if this field is enabled, you can not pass format information to the boundfield control. That is, if you try the following code, you will not get the desired result.

How to format datetime & date with century?

  
Execute the following Microsoft SQL Server T-SQL datetime, date and time formatting scripts in Management Studio Query Editor to demonstrate the usage of the multitude of temporal data formats available and the application of date / datetime functions.

http://www.sqlusa.com/bestpractices2005/centurydateformat/

Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format, Part 2

  

The Win32 Portable Executable File Format (PE) was designed to be a standard executable format for use on all versions of the operating systems on all supported processors. Since its introduction, the PE format has undergone incremental changes, and the introduction of 64-bit Windows has required a few more. Part 1 of this series presented an overview and covered RVAs, the data directory, and the headers. This month in Part 2 the various sections of the executable are explored. The discussion includes the exports section, export forwarding, binding, and delayloading. The debug directory, thread local storage, and the resources sections are also covered.

Matt Pietrek

MSDN Magazine March 2002


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend