Small refactoring of date utility function

Having that in the .c file instead of inline in .h makes recompiling
faster when changed.
Added Sony A7R WB presets.