Showing posts with label Visualforce. Show all posts
Showing posts with label Visualforce. Show all posts

Wednesday, 8 March 2017

[#Blogged]Salesforce 18th Birthday

Happy Birthday Salesforce !
Salesforce have turned 18th today , Isn't it exciting the company you work and it grows with you .
 The company was founded in 1999 by former Oracle executive Marc Benioff, Parker Harris, as a company specializing in software as a service (SaaS).[8]
I still remember , the first time I heard the name 'Salesforce '


I started my salesforce journey in 2013 after my 12th Class examinations , And from solving Force.com Fundamentals to grabbing a job as a Salesforce Developer  and Being the DG Leader in Chandigarh Tricity Area . Salesforce just changed my life as well as the thinking of mine .I am still pursuing my graduation and I literally don't think any other technology gives you a life-changing chance as Salesforce did.
I would like to thank and wish “Happy Birthday” to all Salesforce Employees, Customers, Partners, Non-Profit Organizations etc.=Party Hard ! Salesfor

Tuesday, 28 February 2017

[#BloggedFormula field to add 1 month exact in close date)


Formula field to add 1 month exact to close date



DATE ( 
YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1 - 1)/12), 
CASE(MOD(MONTH(CloseDate) + 1, 12 ), 0, 12, MOD(MONTH(CloseDate)+ 1, 12 )), 
MIN(DAY(CloseDate), 
CASE(MOD(MONTH(CloseDate) + 1,12), 9, 30, 4, 30, 6, 30, 11, 30, 2, 
IF(MOD(YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1)/12), 400) = 0 || (MOD(YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1)/12), 4) = 0 && MOD(YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1)/12), 100) <> 0 
),
29,28),
31)) 
)









Monday, 27 February 2017

[#Blogged]Day, Month and Year from Date

Sample Code (Use this in apex class):

Date gettingdate;
Integer dy = gettingdate.day();
Integer monh = gettingdate.month();
Integer yer = gettingdate.year();