Tag: Salesforce

  • C# : Converting DateTime to format YYYY-MM-DDThh:mm:ssZ

    I found that lots of people were searching to convert the datetime into the universal format. Following can be used for the same.

    myDateTime.ToString(“u”)

    OR

    string strDate = DateTime.UtcNow.ToString(“yyyy’-‘MM’-‘dd’T’HH’:’mm’:’ss’Z’”, DateTimeFormatInfo.InvariantInfo);

    The custom format string is “yyyy’-‘MM’-‘dd HH’:’mm’:’ss’Z’”.

  • Salesforce.com: What is Cloud Computing?

    [youtube=Salesforce]

    Awsome explanation of Salesforce working!

  • Salesforce Flex: “Error #2032: Stream Error. URL: “

    I came across the Error #2032 exception when I was trying to embed the swf file uploaded to static resources of the Salesforce instance. I searched it on the developer.force.com as well as google it around but didn’t find any solution. but after that i realised that the swf file is unable to find the force toolkit required for the execution of the swf file.

    I solved this by right clicking on the project in eclipse then on going to the properties.  And configuring the Framework linkage to merge in code value. I don’t know this was the correct way to do that or not.