Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; public class Main { private static HashMap<String, String> getMetaData() { HashMap<String, String> localHashMap = new HashMap(); localHashMap.put("creation_time", new SimpleDateFormat("yyyy_MM_dd_HH_mm_ss_SSSZ").format(new Date())); return localHashMap; } }