date - VBA DatePart vs Format function -


i wondering if there difference while formating date as:

myyear = datepart("yyyy", date) 

or as:

myyear = format(date, "yyyy") 

i figured out format returns value string. there other differences?


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -