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
Deloitte IT Admin 2Deloitte IT Admin 2 

Dynamic information in <th>

Hi All,
I would like to write, instead of N, the current year in this table in a vf page:
 
<th style="width:15%" data-field="name">Yr N</th>            
<th data-field="price" colspan="5">N</th>                 
<th data-field="price" >N+1</th>
<th data-field="price">N+2</th>
<th data-field="price">Beyond N</th>
            
Any idea?

Thankyou!
Kannan N 10Kannan N 10
You can use date function... TODAY() 

{!YEAR(TODAY())