To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

Timestamp format

wirat
edited July 2011 in Event Logs
Dear Sir,

   I am writing a program to read MXML file with java. I have a problem when I am trying to get timestamp. How can I parse the timestamp string in to Date object. As a java beginner, I am confusing about its format. Could any one show me a sample code in changing timestamp in string format to Date in order to be able to compute over it later.

Thanks

Wirat 

Comments

  • Dear Wirat,

    Taking it one step back, why are you parsing the MXML file using Java code yourself?

    There are other options:
    - Implement your code in the ProM 6 framework where you can use OpenXES and a lot of plug-ins, see https://svn.win.tue.nl/trac/prom
    - Use OpenXES to read and write MXML and XES files, see http://www.openxes.org
    - MXMLib to read and write MXML files, see http://www.processmining.org/tools/mxmlib

    I hope this not only answers your question but also helps you to develop your code quicker by using existing libraries and frameworks.
    Joos Buijs

    Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
    Previously Assistant Professor in Process Mining at Eindhoven University of Technology
Sign In or Register to comment.