Comment convertir ‘long’ en ‘seonde’: pour adapter le format UNIX

Author:


{filelink=5532}

public class LongAMSec
{

public static String ConvertMSeconde(long t)
 {

	    return Double.toString(t / 1000D);
  }
  public static void main(String[] args)
  {

    System.out.println(ConvertMSeconde(1024));
  }

}

A Voir sur le même Sujet:

  • java adapter format date locale
  • comment convertir long en date
  • heure unix en java
  • comment lire un fichier long unix

Leave a Reply

Your email address will not be published. Required fields are marked *