• junjin
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I am having problems regarding displaying dates.

 

I have the ff. code for my query:

global static List<Patient__c> queryPatients() {
         return [SELECT Id, Last_Name__c, First_Name__c, Middle_Name__c,Birthday__c, Civil_Status__c, Gender__c FROM Patient__c ORDER BY Last_Name__c ASC LIMIT 20 ];
    }

When I want to use the data, for example, this.Birthday__c, the value changed.

eg.

1976-03-09 became 195177600000

 

What must I do to display the right value?

 

Thank you!

  • March 25, 2012
  • Like
  • 0