JSObject returns wrong date. How can I extract correct date from digital signature?

I'm trying to extract name and date from digital signatures by using JSObject in Excel VBA, but JSObject returns wrong date. Year, month, hour and minute are correct, but only day is incorrect.
Here is my code. I'm using Acrobat 8.1.3.
Please tell me what's wrong with this code and how I can extract correct date from digital signatures.
Public Sub sbTest()
Dim oApp As Acrobat.acroApp
Dim oPDDoc As Acrobat.AcroPDDoc
Dim jso As Object
Dim f As Object
Dim sig As Object
Dim strFileName As String
Set oApp = CreateObject("AcroExch.App")
Set oPDDoc = CreateObject("AcroExch.PDDoc")
strFileName = "C:\Test.pdf"
If (oPDDoc.Open(strFileName)) Then
Set jso = oPDDoc.GetJSObject
Set f = jso.getField("Signature1.0")
Set sig = f.signatureInfo()
Debug.Print sig.Name
Debug.Print sig.Date
End If
Call oPDDoc.Close
Call oApp.Exit
End Sub

Hi
You can use TDMS file format to save the data. I have attached a reference Vi.
On button click you can log the data or remove the case structure and continuous log the complete acquisition data.
Thanks and Regards
Himanshu Goyal
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Attachments:
Data Save in File.vi ‏35 KB

Similar Messages

  • How can I extract the data from Xstring .

    Hi Gurus ,
    How can I extract the data from a XSTRING  .
    I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
    Someone told me that there is a standard FM for that . but I am not able to find .
    Please reply with the FM in case some one knows about it .
    Thanks in advance .

    The following code works as of 7.0 (in any SAP system):
    FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
    TYPES : BEGIN OF ty_struc,
              line TYPE c LENGTH 100,
            END OF ty_struc.
    DATA lt_char TYPE TABLE OF ty_struc.
    DATA length TYPE i.
    length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = input
      tables
        binary_tab            = lt_char.
    CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
    output = output(length).
    ENDFORM.
    Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM

  • How can I extract trading data within sales data

    hi experts,
                    How can I extract trading data (2LIS_46_ITM) with sales data (2lis_11_VAITM) ? I want only one data source and extract data of both data source. I have noticed that many fields are common but other fields are not common.
    Message was edited by:
            rakesh jangir

    Hi ganesh,
                    Thanks for answer. it is correct that Generic is the final solution.
    But is there any other solution if i don't want to create generic data source due to some issues.
    Message was edited by:
            rakesh jangir

  • How can I extract certain pages from my document and save as another file?

    How can I extract certain pages from my document and save as another file?

    You would need Adobe Acrobat to do that, not Adobe Reader.

  • How can I extract a page from a document if I don't have that option on my tools menu?

    How can I extract a page from a document if I don't have that option on my tools menu?

    iPhoto on the iPad can be used to make photo books, but not calendars. It is a very different program from the Mac version of iPhoto. I hope you have access to a mac to create your christmas calendar.
    http://help.apple.com/iphoto/ipad/2.0/?handbuch#blnkbc26e276
    Search the AppStore for "Foto Calendar". I have not tried any of these apps, but there are quite a few, that claim to be able to create an "Awesome foto calendar"

  • How can I extract the info from my Time Capsule?

    How can I extract the info from my Time Capsule?

    What info would that be??
    If you mean how to recover TM back to a computer.. see Pondini Q14-17
    http://pondini.org/TM/FAQ.html
    If that isn't it .. we do not know what.. "the info" you are talking about.

  • How can I extract a picture from a contact in Address Book?

    How can I extract a picture from a contact in Address Book? Address Book is version 5.0.3 with Mac OS X 10.6.8. Btw, I don't have access to the original picture anymore.
    Message was edited by: Cormac

    You need to go to ~/Library/Application Support/AddressBook/Images and Control-click on each file and open it using Preview. Then you can export the image if you choose. Just keep in mind that these will be thumbnail quality, so don't expect large images, either in file size or physical size.

  • How can I extract single frames from an imovie?

    How can I extract sigle frames from an imovie? Thanks for any input on this. Using iMovie 11

    John Codgell has some tips on how to use MPEG Streamclip to do this on this Discussion Thread:
    Helpful AnswerRe: can you make a still photo from clip

  • How can I extract Java source from Oracle?

    I have an object of type "JAVA SOURCE" in my database. I do not have the source
    code available.
    How can I extract this source from the database so I can read it? I am not a Java programmer, so a sql or pl/sql solution would be greatly appreciated.
    Thanks in advance!

    This query lists any Java object that the current database user has (JAVA SOURCE, JAVA CLASS or JAVA RESOURCE). Use this to determine which Java sources exist.
    SELECT * FROM USER_OBJECTS
    WHERE OBJECT_TYPE LIKE 'JAVA%'This query lists the source of one Java object.
    SELECT * FROM USER_SOURCE
    WHERE TYPE = 'JAVA SOURCE'
    AND NAME = 'com/acme/HelloWorld'Substitue the name of the java class you're interested in for 'com/acme/HelloWorld'.
    I know that the question is four years old, but I had the same question and arrived here via Google, so I figured posting an answer might help others in a similar situation.

  • How can i extract a person from a picture and then animate the person

    how can i extract a person from a picture and then animate the person

    Basically you select the person using the various selection tools, copy the selection to the clipboard, and paste the selection onto the destination picture. Then use the Move tool to resize/reposition the person as necessary. Here is a tutorial demonstrating this as well as some advanced techniques.
    http://home.earthlink.net/~msand42/PSE/composite/

  • How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    Or this
    From iMovie 10.0.6 select Share > File. Then select Format=Audio Only. Then select File Format and choose from AAC,MP3,AIFF or WAV.

  • How can I extract a dates column from an ascii file

    I am extracting data from an ascii file and the rest of the data is extracted using read from spreadsheet, but the date appears as just the day e.g. 22 for 22nd, how can I get the date, format in ascii is e.g 22/04/2006, can I do this by specifying something at format of read from spreadsheet ? Cheers
    Emily

    Hi,
    I found the other day that there are instructions included inside the Read From Spreadsheet vi on how to modify it slightly to read strings rather than doubles.
    If you drop the Read From Spreadsheet  vi onto the block diagram and double click on it, you will open the front panel for the vi. If you then select the block diagram (for Read From Spreadsheet) you will see an 'instructions' frame below the main 'code', and the 3rd paragraph tells you how to modify the VI to read the spreadsheet as a set of strings rather then doubles. Save the vi as a new filename when you've edited it or you will overwrite the existing vi!
    Using the newly modified vi you can read in your entire spreadsheet, extract the dates as strings, then do any conversion necessary to the other columns of the sheet to change them into the types of value you require (eg doubles).
    I hope this helps.
    Mark
    Applications Engineer
    National Instruments

  • How can i extract just documents from time machine backup?

    How can I extract just my documents from a time machine backup?   I had to re-install Lion after the update screwed things up, the Genius Bar guy told me to re-install each App, and then transfer just my data (documents) back but didn't tell me how.   I only see how you can restore the entire snapshot of what was on my MacBook that day, I don't see how to select specifics. 

    Hi,
    Install a fresh Lion OS on your Mac. After this is done, then connect your time capsule. Click on the time machine icon in the dock bar so you will enter in time machine. Select the document folder and any document or all you need. The same thing you can do with iPhoto, Emails, etc.
    Let me know
    Claudio

  • How can I extract single pages from pdf document

    how can I extract a single page from pdf document

    Purchase and install Acrobat XI. 
    Open a multi-page PDF.
    Use the click path of:
    Tools - Pages - Under "Manipulate Pages": Extract
    Be well...

  • How can i extract the text from the PDF files,Power point files,Word files?

    hi friends,
    i need to extract text from the PDF files,Power Point,Ms word files.Is it possible with java?if yes how can i extract text from those files.please give solution this problem.i would be thankful if u provide solution.
    regards,
    prakash.

    Find an API which could read each of those files and start coding.

Maybe you are looking for