• Priavi
  • NEWBIE
  • 15 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
I try to write a spinner program, at the time of spin display the names.
for eg: if you try to book the cab and send the request to the drivers, lets say 10 drivers are there, when the request is send in list of drivers, then at that time spinner is rotate and showing name of each driver, if one of them request is accepted them spinner is stop. 
eg: when rotate showing name xyz,abc etc.
i write this, which display only one name
Driver__c  n = [select Id,Driver_Name__c, from Provider__c where Case__c = :caseId or Account__c = :lcase.Requested__c limit 1];
        
return String.valueOf(n.Provider_Name__c);

Any suggetions please

 
  • December 14, 2021
  • Like
  • 0
String fake = '2021-12-07T15:32:19.583';
DateTime t = DateTime.valueOfGmt(fake);
system.Debug('Line 17:' + t);
  • December 08, 2021
  • Like
  • 0
String fake = '2021-12-07T15:32:19.583';
DateTime t = DateTime.valueOfGmt(fake);
system.Debug('Line 17:' + t);
  • December 08, 2021
  • Like
  • 0