Click here to Skip to main content
15,569,858 members

Comments by Enver Maroshi (Top 2 by date)

Enver Maroshi 25-Nov-10 3:15am View    
Very nice functions, i bookmarked this page. Only what you are missing is culture check. Your function will return always first day of week on sunday, in my country week starts at monday. But your functions are really nice and all one needs to implement is a check for culture and calculate difference between current day of week and first day of week (this is what my first line of code does).
Enver Maroshi 21-May-10 9:38am View    
This checks only keys, but user can copy-paste using mouse only, and this way he can paste from context menu as much text as he wants.