$(date) or `date` difference?

I'm not new to scripting by any means, but also wouldn't consider myself far advanced either. I've noticed a lot of scripts used at my new organization uses something like this

variable=$(date)

instead of what I'm use to like

variable=`date`

Obviously there's some formatting of the date command that usually takes place, but that's just my example. Can anyone point out the difference between the two methods or is it just a preference type of thing? TIA

BashFAQ/082 - Greg's Wiki

1 Like

Awesome.. much appreciated!