src/main/java/com/appslandia/common/jose/JoseUtils.java
public static Long toNumericDate(Date value) {
		if (value == null) {
			return null;
		}
		return DateUtils.clearMs(value).getTime() / 1000;
	}
public static Long toNumericDate(Date value) {
		if (value == null) {
			return null;
		}
		return DateUtils.clearMs(value).getTime() / 1000;
	}
number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time