You need to sign in to do that
Don't have an account?
Gulshan__c
How to add date from custom date field in Todays date
Hi,
I am fetching date using TODAY() function.Now i want to add another date in todays date.I am fetching the custom date from my custom object field.all this i need on VF page.
im using {!Today()} ---------------->for fetching todays date
{!obj.Custom_date} ---------------->Custom date
im trying to add like
{!TODAY()}+{!obj.Custom_date__c}
Output receiving is as below
2/8/2016+10/31/2015 2:59 PM
I am fetching date using TODAY() function.Now i want to add another date in todays date.I am fetching the custom date from my custom object field.all this i need on VF page.
im using {!Today()} ---------------->for fetching todays date
{!obj.Custom_date} ---------------->Custom date
im trying to add like
{!TODAY()}+{!obj.Custom_date__c}
Output receiving is as below
2/8/2016+10/31/2015 2:59 PM
Date_Time_c - DATETIMEVALUE( "2013-08-01 12:00:00" )
{!TODAY()}+{!obj.Custom_date__c}
{!(today()+obj.Custom_date__c)}
today() -------------->gives me todays date
obj__c.Custom_date__c-------------->My custom field which gives me number of days to add in todays date