code: public static long getTimestampValue( Node node ) throws CloudException {
          SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
          fmt.setTimeZone(TimeZone.getTimeZone("UTC"));
          String value = getTextValue(node);
  
          try {
              return fmt.parse(value).getTime();
          } catch( ParseException e ) {
              logger.error(e);
              e.printStackTrace();
              throw new CloudException(e);
          }
      }
docs: Gets the epoch form of the text value of the provided node.
  
  @param node the node to extact the value from
  @return the epoch time
  @throws CloudException