Returns the week number in the year of the date referenced, based on the local influence.
Not everywhere does the week begin on Monday by definition.
lsWeek(date [, locale] [, timezone])
→ returns numeric
getLocale()ende-DEde-CH...WriteOutput( lsWeek( createDateTime( '2019', '10', '04', '01', '50', '00' ), 'en_US', 'CDT' ) );
Expected Result: 40
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.