I want the millis to be converted into a string.

Date date = new Date();
long millis = date.getTime();
// how can I make this millis into a string.
//Thanks.

String s = Long.toString(date.getTime());
http://java.sun.com/j2se/1.4.2/docs/api/index.html

Similar Messages

  • PSE12: How to create gridlines on the image page then converted into a pdf? [was: N276]

    I want to download an image from the internet, for example, batman, create gridlines on the image page then converted into a pdf.  where on adobe photo shop element 12 can I do this.

    On way is to define a pattern:
    https://forums.adobe.com/thread/875370?tstart=0
    Another way is this neat free grid generator filter:
    http://www.richardrosenman.com/software/downloads/
    1. Add a blank layer above the picture layer, fill with white, and set Blend Mode to Multiply.
    2. Apply the filter. There are many options. Here I chose black lines on white background with 20 square boxes across. Note that the background should be pure white (255,255,255) so as not to change the original picture.
    You can also find lots of grid images on the Internet, for example a Google search on "grid" or "grid paper". As in the previous method, add this image above your picture and set its Blend Mode to Multiply.  Again, the background should be pure white.

  • Illustrator image copy/paste onto the Indesign the text should automatically converted into image?

    Hi All,
    Is there options to get the image copy & paste into the Indesign, if i done manually the frames and lines stroke, colors, are coming fine, but the text object only converted the image. i want to edit text  in indesign.
    this is possible for scripting or manual?
    regards
    CSM_PHIL

    You can copy/paste from Illy to ID by selecting the text with the type tool in Illy and then pasting it into ID. You will not be able to maintain the formatting. If you want to maintain the appearance the text will be converted to outlines.
    If you need to get anything other than very simple objects from Illy to ID then you should save as AI and use the file > place command to place those objects as linked graphics into ID.
    Your closing statement is irrelevant. Whether you like it or not, this is the way it is.
    Bob

  • Can the original iPhone be converted into an iPod Touch?

    For those of us replacing our iPhone with the new 3G iPhone, does Apple provide any kind of way to remove the phone features of the original iPhone to convert it into an iPod Touch?
    In this world of being environmentally friendly, this seems like a logical option that would generate additional income for Apple since they charge for iPod Touch major firmware upgrades.

    Using an iPhone without a wireless service plan: Apple Support ...

  • How to divide a 577 GB C local disk so that the HDD doesn't convert into dynamic?

    The problem is, I know that Windows 7 won't allow more than 4 local disks on the same HDD, and in diskmgmt.msc there are already four partitions: SYSTEM (no letter), C local disk (windows installed), Recovery (D: ), and a FAT32 system HP_TOOLS (E: ), which is barely 4 gigs. Now, the C local disk is 577 GBs, which is annoying, so I'd like to have a partition where I can store my stuff, in case I need to reinstall/recover the windows (It's not mac, so over time windows gets buggy, crashy and sh**ty, you know). How do I create an additional local disk for me so that it doesn't convert Basic disk into Dynamic, and the recovery partitions are untouched?
    Thanks in advance

    Thank you for your reply. You helped me a lot! I'm creating a recovery media right now. I'm assuming that if I run it, say, after a year, it will reset the laptop to its factory settings?

  • Can not edit Word docs after converting from a ExportPDF file. The PDF file is converted into a non-editable Word Doc image.

    Converting a PDF file (scanned copy Adobe Reader X) to a Word Doc using ExportPDF conversion. The Word Doc created is a image file which is not editable. I need an editable Word Doc file.

    Hi robertw,
    Can you please tell me more about how the PDF was created? (If you don't know, choose File > Properties, and look for the PDF Producer on the Description tab.)
    If the PDF was created by a third-party PDF creator, it may be that it's not well-written, and that can affect the quality of the conversion. See Will Adobe ExportPDF convert both text and form... | Adobe Community.
    That said, you may be able to select the text by triple-clicking in the Word document.
    Please let us know how it goes.
    Best,
    Sara

  • I want the website that I type into the address box to open in a new tab automatically, not replace the tab/page I am already on. How can I do this?

    Automatically open a tab by typing in address box.

    You can middle-click the Go button on the location/address bar to open the URL in a new tab and press Alt+Enter.
    You can search the Add-ons website to see if there is an extension that includes this feature.

  • I want the image preview put back into PS CS6 file open dialog box (WIndows)

    PATCH IT NOW ADOBE!!!

    I sense a bit of frustration.  It's understandable.  I've expressed some of the same myself on occasion. 
    Ssprengel and I have suggested this solution to you as it actually improves many things beyond just working around the omission in Photoshop functionality.
    Even with Photoshop CS5 and earlier I had added the codec pack.  The codec pack provides more than just an image preview in Photoshop dialogs, as it adds awareness of the image to all Windows functions, including the Windows Photo Viewer for example.  Like you, I prefer not to use Bridge.  Consider this Explorer window:
    You're certainly welcome to not buy the upgrade to Photoshop CS6.  No one's twisting your arm.  Unfortunately, your alternatives are...  ???  And keep in mind if you do skip Photoshop CS6, the upgrade to Photoshop CS7 will be hugely more expensive.
    -Noel

  • Take the user and turn it into a string

    Hello All:
    I'd like to be able to take the user name from the computer (who is logged in) and bring it into the VI, preferably as a string.
    Solved!
    Go to Solution.

    Looked through the application property nodes?
    Attachments:
    igottopetapenguinonce.png ‏11 KB

  • Read the output of a jsp into a string

    I need a servlet that can return the output html of a jsp as a string. How can I do this? I played around with constructing a URL object and getting an InputStream from that but without success.

    This is kind of a weird hack, but it just might work. If it's only one jsp file that you're working with, instead of putting the code inside a jsp, put it in a servlet instead. Wherever you're outputting something call the method below:
    private String totalOutput="";
    private void doubleOutput(PrintWriter jspout, PrintWriter fileout, String mytext){
       jspout.println(mytext);
       fileout.println(mytext);
       totalOutput+=mytext;
    }So basically you would get the jspout from the response.getWriter() method (in either doGet or doPost method). The fileout is basically a PrintWriter associated with a new FileOutputStream(tempfilename).
    Now, you basically have all the output you need in the file and you can access it later. Alternatively, at the end of the servlet's doGet or doPost method, you'll have access to everything that's output in that 'totalOutput' String (don't forget to reset it after every call to doGet/doPost!)

  • Converting the layout from OTF format into PDF

    Hi Experts,
    I am new to SMART FORMS,I don't have a clue about how to convert the layout from OTF format into PDF format and how to store it in Presentation server.
    Please send me a Model program or step by step approach of the same.
    Useful inputs will be rewarded higher points.
    Thanks in Advance,
    Dharani

    Hi,
    The steps are given below:-
    1) First get the name of your generated function module for the smartforms.
    2) Then call the generated function module.
    3) Then use the FM:CONVERT_OTF' to convert into PDF as shown below:-
    call function 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = w_pdf_len
          bin_file              = w_pdf_xstring
        TABLES
          OTF                   = OUTPUT_DATA-OTFDATA
          LINES                = LT_LINES
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          others                = 5.
    Hope this is clear.
    Pravat.
    <i>*Reward points if helpful.</i>

  • How to parse XSD in ABAP and convert into models

    Hello Experts,
    I have a scenario where XSD is available in ABAP and want to parse it and convert into object such as XSD Schema, XSD Complext Type, XSD Simple Type etc... (that is create a DOM model of XSD)
    Are there some standard APIs which can provide this feature?
    Thanks & Regards,
    Arpit

    Hi Arpit,
    If my understanding of your requirement is correct then the class - CL_FP_XSD_FOR_ABAPTYPES, should help you out.
    Let me know how this works out, or i am completely off your requirement.
    Regards,
    Chen

  • MRP Generated PR should not be converted into PO before release date.

    Gurus,
    In MRP generated PR system defines a release date for the PR(date by which the PR should get converted into PO).My requirement is system sholud not allow me to convert that PR into PO before that Release date.
    MRP generated PR are not subjected to Release strategy.
    Is their any Configuration,User Exit for it.
    SN

    Hello Sanjay,
    please try setting up an error from OMCQ t-code.
    If this not helps then please contact your abaper, I m sure he will find out a way out of this.
    Hope this helps..
    Robin

  • Convert into acres

    Hi, iam having two tables
    TITLE ,
    id_title                    Code_Uom           Area                                        
    050540HSD003206S3             M               2424.33
    050540HSD003206S2             KM              3434.33
    050540HSD00320623             H               3438.44
    050540HSD00320654             MP              488.88
    050540HSD00320656             KP              3434.88
    CODE_UOM
    Code           Name
    M              Meter
    KM             Kilometer
    H              Hectare
    MP             Cubic meters
    JK             foot
    KP             square feeti need a function or package to convert area field into acres by checking the Code_Uom accordingly.
    ie.,
    in TITLE table if Code_Uom column is M then it should check in CODE_UOM table for code column and the name for it.
    if it is meter then the meter should be converted into acres. so here 2424.33 meters should be converted into acres
    which is nothing but
    Answer: 2424.33 m² = 0.599064 acre
    3434.33 km² = 848641.424 acre
    Edited by: user9093689 on Dec 27, 2010 8:11 PM

    In the "do the return calculation", write the expression for the calculation for each meter,km...
    CREATE OR REPLACE FUNCTION metric
    (v_type VARCHAR2 , v_size NUMBER )
    RETURN NUMBER
    AS
    v_acre NUMBER;
    variable_v varchar2(10);
    begin
    select nvl(name,'0') into variable_v from kod_UOM where kod='v_type';
    v_acre := case when v_type = variable_v then *do the return calculation*
                            when v_type = variable_v then *do the return calculation*
                            when....
                    end;
    return v_acre;
    END;Please copy and paste how you are calling it.
    Edited by: Mahanam on Dec 27, 2010 10:39 PM

  • GetText() saving it into a string

    I want to getText and save it into a string called test. could some one help me. thanx.

    Either you're being sarcastic, or just too lazy to READ the api.
    String test = TextComponent.getText();

Maybe you are looking for

  • Phone taking ages to charge

    My phone gets VERY hot when itscharging or not. Recently my phone takes a very very long time to charge. I used to be able to use it while it charges and it would charge just as fast while I'm using it. Now, when I use it while its charging the batte

  • Verify error while burning

    Saved an iDVD project as a disc image, then checked the image using the DVD player. Looked good. Burned a DVD using Disk Utility (don't have Toast), but then it failed to verify. Twice. Played them at home anyway, but both copies of the DVD have majo

  • Error message 'docstogocommon' not found

    When I 1t to edit my documents I keep getting the above error message. It was working about two weeks ago. Please help!!! CuPpIcAkEs

  • Stop whole program with one button

    Hi, I've written a program for reading some values out of a measurement instrument. Now i want to have one button which stops the entire program no matter in which loop or which subVI the program is in. I have a subvi to make a connection to the devi

  • Can you forward an email to a folder in the cloud?

    Can you forward an email to a folder in the cloud?