(based on getx() function by Tanja Stadler)
1  | getLeafTimes(tree, reverse = FALSE, includeRoot = TRUE)
 | 
tree | 
 The tree to calculate the times on  | 
reverse | 
 If true return time from the present, otherwise time from the root (default=FALSE)  | 
includeRoot | 
 If true include the root in the time estimation (only has an effect if reverseTime is false) (default=TRUE)  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.