GeeKs Blogging @ dotCOM

Let’s share…
  • Home
  • About
  • How To – FAQs
  • Disclaimer
  • Terms & Conditions
15 May 2009

Siebel – getMilliseconds() usage

Siebel by default displays all dates in the system accurate to the seconds place. However, at times, especially in EAI based projects or performance intensive projects, it is often a requirement to calculate accuracy down to the last millisecond.

Siebel provides a ready made function called getMilliseconds() for this functionality.

I wrote a simple script in Siebel Local Client to demostrate this functionality. The contents of the script, “Dummy Get_MS Test” is:

function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{

if (MethodName == “md_getMS”)
{
var d_test01 = new Date();
TheApplication().RaiseErrorText( d_test01.getMilliseconds() );

return (CancelOperation);
}
return (CancelOperation);
}

This returned me the value 895 in my tests. To be precise, I received the following output:
—————————
Siebel
—————————
895(SBL-EXL-00151)
—————————
OK
—————————

This cannot be hours, minutes or seconds. It has to be milliseconds.

Hence proven!

  • Twitter
  • Digg
  • Facebook
  • LinkedIn
  • Delicious
  • FriendFeed
  • Gmail
  • Hotmail
  • Multiply
  • MySpace
  • Yahoo Buzz
  • Yahoo Mail
  • Share/Bookmark

Related posts:

  1. Siebel – millisecond dates on Applet I had discussed in my previous posts about invoking a...
  2. Siebel – InvokeServiceMethod() on Calculated Fields InvokeServiceMethod() is used to invoke Business Services and take values...
  3. Siebel – Fetch Active view properties – III I will discuss a practical example, and the corresponding Inputs...
  4. Siebel – EAI Queue – Usage I had introduced the concept of Siebel EAI Queues in...
  5. Siebel – Symbolic Strings – Usage Symbolic Strings appear directly in Siebel Tools’ Object Explorer, an...
  6. Siebel – Automatic User Logout Logging out a user automatically, when the user does not...
  7. Siebel – Autosave Opportunity data – Sample Code This is a follow up post on my previous post,...

Tags: Date function, eScript, Siebel, Tutorials

This entry was posted on Friday, May 15th, 2009 at 10:20 AM and is filed under Siebel CRM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Click here to cancel reply.

« Siebel – SIA BC Utility Service – Invoke BC Method
Siebel – millisecond dates on Applet »
  • Admin Controls

    • Register
    • Log in
  • Talk to us

    • Bouquets, brickbats, suggestions, complaints?

    • Click here...
  • Authorships

    • We are currently looking out for active authors. Are you willing to contribute?

    • Please click here

    • Everyone's invited..
  • Subscribe by Email


  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Sponsors

  • Daily Dilbert

    •          
  • Sponsors

  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (88)
      • CRM News (3)
      • Sage Software / ACT! (1)
      • Siebel CRM (83)
    • EAI (2)
    • FUN 'n' FROLIC (4)
    • IT News (25)
    • Meet the Author (8)
    • ORACLE (1)
      • Database (1)
    • Product Demostrations (3)
    • Uncategorized (2)
  • Tag Cloud

    Actuate Admin Admin Notifications Applet Author Introductions Business Component Calculated Function Certification CFG file Client Configuration Critique CRM Debugging EAI EIM eScript Fundamentals Fusion Middleware Gaming Google IT News License Logging Login Microsoft ORACLE Performance problems Product Defect Product Demostrations Scriptless solutions Security Server Siebel Siebel Secrets SOA SRF Tips Tools Tricks Tutorials User Property Workarounds workflows



  • Archives

    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Authors

    • Ankit Bhardwaj
    • Ashish Kaul
    • brijesh
    • Himanshu Bajpai
    • Madhvi Arora
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

    • geeksblogging@gmail.com
    • admin@geeksbloggingat.com
  • Sponsors

Fresh Ideas

  • Salesforce CRM Essentials Webinar
  • Sun + Oracle is faster: Proof October 14
  • Oracle v/s IBM: One poster says it all
  • Geeks Blogging @ dotCOM - Subscribe by Email
  • Siebel - Installer hangs midway
  • Oracle finalizes new Training Partner
  • Oracle divorcing Prometric
  • What is Google?
  • Siebel - Case Insensitivity (CIAI) Wizard
  • Oracle VM Templates for Siebel CRM

Just Said