<?php
function VencimentoSerial($serial) {
return gmdate( 'd/m/Y', $vencto); }
echo VencimentoSerial( '0AC192F4B16EA6A5CE' ) . PHP_EOL;
echo VencimentoSerial( '0AC1A2F4B16EA6A5CE' ) . PHP_EOL;
echo VencimentoSerial( '0AC1B2F4B16EA6A5CE' ) . PHP_EOL;
PD9waHAgCiAKCWZ1bmN0aW9uIFZlbmNpbWVudG9TZXJpYWwoJHNlcmlhbCkgewoJICAgJHZlbmN0byA9IHN0cnRvdGltZSggJzIwMTYtMS0xICsnLmhleGRlYyhzdWJzdHIoJHNlcmlhbCwgMywgMikpLicgbW9udGhzIGxhc3QgZGF5Jyk7CgkgICByZXR1cm4gZ21kYXRlKCAnZC9tL1knLCAkdmVuY3RvKTsKCX0gCgoJZWNobyBWZW5jaW1lbnRvU2VyaWFsKCAnMEFDMTkyRjRCMTZFQTZBNUNFJyApIC4gUEhQX0VPTDsKCWVjaG8gVmVuY2ltZW50b1NlcmlhbCggJzBBQzFBMkY0QjE2RUE2QTVDRScgKSAuIFBIUF9FT0w7CgllY2hvIFZlbmNpbWVudG9TZXJpYWwoICcwQUMxQjJGNEIxNkVBNkE1Q0UnICkgLiBQSFBfRU9MOwoKIAogCiA=