some basic atomic operations
more nsdate helpers