APA defines the 'date' element as the publication date (American Psychological Association, 2019, p. 289).
There are 5 forms to format the date:
The reference category of the work you are trying to cite will determine how the date is formatted. The most common way to cite the date of a work is with solely the year. However, digital resources are typically the exception.
See pp. 289-291 in APA Seventh Edition
The Online Media category as defined by APA includes webpages, websites, and social media. Here are a few rules about the date format:
Morey, M. C. (2019). Physical activity and exercise in older adults. UpToDate. Retrieved July, 22, 2019, from https://www.uptodate.com/contents/physical-activity-and-exercise-in-older-adults
*Example taken from p. 319 of APA Seventh Edition
**For best practices for constantly updated sources, especially social media posts, cite the archived version of the webpage
See pp. 290, 329 in APA Seventh Edition
See p. 290 in APA Seventh Edition
American Psychological Association. (2020). Publication manual of the American Psychological Association (7th ed.). https://doi.org/10.1037/000165-000