function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
string year = '2008'; string month = '10'; string day = '5'; string hour = '12'; string minute = '20'; string second = '20'; string stringDate = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second; Date myDate = date.valueOf(stringDate);
check out this post:
https://developer.salesforce.com/forums/ForumsMain?id=906F000000096TdIAI
Art.
All Answers
check out this post:
https://developer.salesforce.com/forums/ForumsMain?id=906F000000096TdIAI
Art.
You can use valueOf method of Date Class.
check all methods in Date
http://www.salesforce.com/us/developer/docs/dbcom_apex230/Content/apex_methods_system_date.htm