#!/bin/bash
date -u --rfc-3339=seconds | sed 's/+00:00//' | sed 's/:/-/' | sed 's/:/-/' | sed 's/ /./'


syntax highlighted by Code2HTML, v. 0.9.1