code: public static String convertDateToWinEpoch( final Instant instant )
      {
          if ( instant == null )
          {
              throw new NullPointerException( "date must be non-null" );
          }
  
          final long inputAsMs = instant.toEpochMilli();
          final long inputAsADMs = inputAsMs - AD_EPOCH_OFFSET_MS;
          final long inputAsADNs = inputAsADMs * 10000;
  
          return String.valueOf( inputAsADNs );
      }
docs: Convert a Date to the Zulu String format.
  See the <a href="http://developer.novell.com/documentation/ndslib/schm_enu/data/sdk5701.html">eDirectory Time attribute syntax definition</a> for more details.
  
  @param instant The Date to be converted
  @return A string formated such as "199412161032Z".