Navigation

Search

Categories

On this page

Exchange Public Calendar in Sharepoint Page Viewer Web Part
Is the Google Web API the mark of the beast?
Sharepoint - Current Date

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 120
This Year: 1
This Month: 0
This Week: 0
Comments: 40

Sign In
Pick a theme:

# Thursday, May 25, 2006
Thursday, May 25, 2006 3:01:37 PM (Mountain Daylight Time, UTC-06:00) ( )
Sometimes, you might want to do this.
 
 
Also, you might try the Outlook Folder view control. Remember kids, this is an ActiveX classID... If your browser/OS isn't COM friendly, don't try this.
As a side note, this relies on having a MAPI profile setup on your current session. Log into the machine in the conference room to demo this? Make sure you setup your MAPI profile. (Come to think of it, does anyone have a way to setup the default profile when a new user is created?)

<object classid="clsid:0006F063-0000-0000-C000-000000000046" id="ViewCtlFolder" width="100%" height="480" codetype="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
<param name="Namespace" value="MAPI">
<param name="Folder" value="\\Public Folders\All Public Folders\1 Bayfield Conference Rooms\Castle Peak  ">
<param name="Restriction" value="">
<param name="DeferUpdate" value="0">
</object>
 
 
Comments [0] | | # 
# Wednesday, May 17, 2006
Wednesday, May 17, 2006 5:23:47 PM (Mountain Daylight Time, UTC-06:00) ( Comedy )

As much as I love Google, I can't help fnd this amusing. One might want to avoid this as a file-size. It's bad for karma.

Comments [0] | | # 
# Tuesday, May 09, 2006
Tuesday, May 09, 2006 9:20:34 AM (Mountain Daylight Time, UTC-06:00) ( Code )

I realized I haven't blogged in 5 months. How pathetic is that.

Here's some quick coding goodness. This will insert the current date formatted per the user's Locale into the div. One of them is IE specific, the other is a more standards-happy way of doing it. As always, code should be valid XHTML!

<div id="CurrentDate"></div>
<hr />
<div id="CurrentDate2"></div>

<script type="text/vbscript" language="vbscript">
<!--
<![CDATA[
    Document.all("CurrentDate").innerText = FormatDateTime(Now(),1)
]]>
//-->
</script>

<script type="text/javascript" language="javascript">
<!--
<![CDATA[
    var now = new Date();
    now.getDate();
    document.getElementById("CurrentDate2").innerText = now.toLocaleDateString();

]]>
//-->
</script>

Comments [1] | | #