True Date Variable:
/////////////////////////////////
True Date Variable:

 Explanation: A variable specifically designed to store date values.

 Example: my_date <- as.Date("2022-01-19")

Date Arithmetic:
Explanation: Performing arithmetic operations on date variables.
Example: new_date <- my_date + 7

//////////////////////////////////////////////////////////

Daily returns to annual ones (usage of log returns)
///////////////////////////////////////////////////////
Note #1: percentage return is defned as 
                  Ret(%) = (p1-p0)/p0                   (1)
                  Ret(%) = p1/p0-1                      (2)
         logRet is defined as
                  logRet=log(p1/p0)                     (3)

Note #2: Property of log returns 
         The log retun of a long period is the 
             summation of all its sub-periods. 

 A weekly log retun is the summation of all daily log returns 
 A monthly log retun is the summation of all weekly log returns 
 A monthly log retun is the summation of all daily log returns 

Note #3: from a % return to a log reutn 
            logRet=log(Ret+1)                          (4)
         from a logRet to a percentage return 
            Ret=exp(logRet) -1                         (5)

///////////////////////////////////////////////////////

Work with your screenshots
////////////////////////////
With Snipping Tool open, select one of the following to create and work with your screenshots.

Capture a snip
    In Snipping Tool, select Mode. In earlier versions of Windows, select the arrow next to the New button. 
    Next, when you choose the kind of snip you want, you’ll see the whole screen change slightly to gray. 
    Then, choosing from anything currently displayed on the screen, select the area of your screen that you want to capture.
Annotate a snip

Capture a video snip

Add captions or audio to a video snip

Save a snip

Share a snip

Copy or redact text

Keyboard shortcuts to use in Snipping Tool

Enlarge, rotate, or crop your image snip

Print an image snip

Place Snipping Tool on the taskbar

Delay your screenshot 
////////////////////////////