code: private static void convertDateString(String str) {
          try {
              Date date = Utils.dateFromString(str);
              display("Date to millis: " + date.getTime());
          } catch (Exception e) {
          }
      }
docs: convertBase64ToHex