Encode/Decode (Encrypt/Decrypt) datetime var in vb6 <p>I want to encode a datetime var into a 8-byte alphanumeric string that can be decoded later. I don't need too much security.</p> <pre><code>201603301639 -&gt; X5AHY6J9 </code></pre> <p>and viceversa.</p>