• kishore eppa
  • NEWBIE
  • 20 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi All,
I have 3 fields like below

Start time and end time both data type  “Time”,  Total Spent data type is “Number”.  
Start_Time__c = 2:10
End_Time__c = 3:20
Total_Spent_Time__c= 1:10  OR 70 

How to calculate time difference or How to convert a number to time ..?

 
Hi All,
I have 3 fields like below

Start time and end time both data type  “Time”,  Total Spent data type is “Number”.  
Start_Time__c = 2:10
End_Time__c = 3:20
Total_Spent_Time__c= 1:10  OR 70 

How to calculate time difference or How to convert a number to time ..?

 
Hi Board. Has anyone had any success completing the Lightning Component Basics - Attributes & Expressions module?   I attempted the challenge using the Trailhead playground. And think what I did is correct. Yet I get the following error... 

"Challenge Not yet complete... here's what's wrong: The Quantity field is not using the correct output component."

Following is the component I have written:

Component Bundle Name : "campingListItem"
<aura:component >
    
    <aura:attribute name="item" type="Camping_Item__c" required="True"/>
    
    <ui:outputText value="{!item.Name}"/>
    <ui:outputCurrency value="{!item.Price__c}"/>
    <ui:outputNumber value="{!item.Quantity__c}"/>
    <ui:outputCheckbox value="{!item.Packed__c}"/>
	
</aura:component>

User-added image

Object schema is :   Name - Text (80),  Packed__c - Checkbox,  Price__c - Currency (16,2), Quantity__c - Number (18,0).

What could I be doing wrong. Any advice?