function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MrBurnz1980MrBurnz1980 

Default to Current day

I am trying to create some shortcuts on the home page and one of the shortcuts should default to Current day to show "My Day"..as in this is what my calendar and tasks for today looks like..I am not sure how to construct the url. Appreciate the help!

 

Here is my code so far..this defaults to Jan 29th 2013..how do I get it to just show the current day? Thanks!!

 

 <td>
            <a href="/00U/c?cType=1&md0=2013&md3=29" target="_top"> <img src="{!$Resource.MyDay}" height="100" width="100" />   </a>
        </td>

 

Avidev9Avidev9
Well one question ... does this image appear on the page <img src="{!$Resource.MyDay}" height="100" width="100" /> ?
Karthikeyan JayabalKarthikeyan Jayabal

Formula functions can be used for this purpose.

Sample:

/00U/c?cType={!MONTH( TODAY() )}&md0={!YEAR( TODAY() )}&md3={!DAY( TODAY() )}