ÿþ< ! - -  
  
 v a r   d k S o l a r   =   0 ;  
 v a r   d k G r e g o r i a n   =   1 ;  
  
 v a r   D a y s O f M o n t h s   =   n e w   A r r a y ( ) ;  
 v a r   L e a p M o n t h   =   n e w   A r r a y ( ) ;  
 v a r   D a y s T o M o n t h   =   n e w   A r r a y ( ) ;  
  
 D a y s O f M o n t h s   =   [ [ 3 1 ,   3 1 ,   3 1 ,   3 1 ,   3 1 ,   3 1 ,   3 0 ,   3 0 ,   3 0 ,   3 0 ,   3 0 ,   2 9 ] ,   [ 3 1 ,   2 8 ,   3 1 ,   3 0 ,   3 1 ,   3 0 ,   3 1 ,   3 1 ,   3 0 ,   3 1 ,   3 0 ,   3 1 ] ] ;  
 L e a p M o n t h   =   [ 1 2 ,   2 ] ;  
 D a y s T o M o n t h   =   [ [ 0 ,   3 1 ,   6 2 ,   9 3 ,   1 2 4 ,   1 5 5 ,   1 8 6 ,   2 1 6 ,   2 4 6 ,   2 7 6 ,   3 0 6 ,   3 3 6 ,   3 6 5 ] ,   [ 0 ,   3 1 ,   5 9 ,   9 0 ,   1 2 0 ,   1 5 1 ,   1 8 1 ,   2 1 2 ,   2 4 3 ,   2 7 3 ,   3 0 4 ,   3 3 4 ,   3 6 5 ] ] ;  
  
 f u n c t i o n   I n t e g e r ( v a l )  
 {  
 t h i s . v a l u e   =   v a l ;  
 }  
  
 f u n c t i o n   I s L e a p Y e a r ( D a t e K i n d ,   Y e a r )  
 {  
 i f   ( D a t e K i n d   = =   d k S o l a r )    
 r e t u r n   ( ( ( ( Y e a r   +   3 8 )   *   3 1 )   %   1 2 8 )   < =   3 0 ) ;  
 e l s e  
 r e t u r n   ( ( ( Y e a r   %   4 )   = =   0 )   & &   ( ( ( Y e a r   %   1 0 0 )   ! =   0 )   | |   ( ( Y e a r   %   4 0 0 )   = =   0 ) ) ) ;  
 }  
  
 f u n c t i o n   D a y s O f M o n t h ( D a t e K i n d ,   Y e a r ,   M o n t h )  
 {  
 v a r   R e s u l t ;  
 i f   ( ( Y e a r   ! =   0 )   & &   ( ( M o n t h   < =   1 2 )   & &   ( M o n t h   > =   1 ) ) )    
 {  
 R e s u l t   =   D a y s O f M o n t h s [ D a t e K i n d ] [ M o n t h   -   1 ] ;  
 i f   ( ( M o n t h   = =   L e a p M o n t h [ D a t e K i n d ] )   & &   I s L e a p Y e a r ( D a t e K i n d ,   Y e a r ) )   R e s u l t + + ;  
 }  
 e l s e  
 R e s u l t   =   0 ;  
 r e t u r n   R e s u l t ;  
 }  
  
 f u n c t i o n   I s D a t e V a l i d ( D a t e K i n d ,   Y e a r ,   M o n t h ,   D a y )  
 {  
 r e t u r n   ( ( Y e a r ! =   0 )   & &   ( M o n t h   > =   1 )   & &   ( M o n t h   < =   1 2 )   & &   ( D a y   > =   1 )   & &   D a y   < =   ( D a y s O f M o n t h ( D a t e K i n d ,   Y e a r ,   M o n t h ) ) ) ;  
 }  
  
 f u n c t i o n   D a y s T o D a t e ( D a t e K i n d ,   Y e a r ,   M o n t h ,   D a y )  
 {  
 v a r   R e s u l t ;  
 i f   ( I s D a t e V a l i d ( D a t e K i n d ,   Y e a r ,   M o n t h ,   D a y ) )  
 {  
 R e s u l t   =   D a y s T o M o n t h [ D a t e K i n d ] [ M o n t h   -   1 ]   +   D a y ;  
 i f   ( ( M o n t h   >   L e a p M o n t h [ D a t e K i n d ] )   & &   I s L e a p Y e a r ( D a t e K i n d ,   Y e a r ) )   R e s u l t + + ;  
 }  
 e l s e  
 R e s u l t   =   0 ;  
 r e t u r n   R e s u l t ;  
 }  
  
 f u n c t i o n   D a t e O f D a y ( D a t e K i n d ,   D a y s ,   Y e a r ,   M o n t h ,   D a y )  
 {  
 v a r   L e a p D a y   =   0 ;  
 M o n t h . v a l u e   =   0 ;  
 D a y . v a l u e   =   0 ;  
 f o r   ( v a r   m   =   2 ;   m   < =   1 3 ;   m + + )    
 {  
 i f   ( ( m   >   L e a p M o n t h [ D a t e K i n d ] )   & &   ( I s L e a p Y e a r ( D a t e K i n d ,   Y e a r ) ) )   L e a p D a y   =   1 ;  
 i f   ( D a y s   < =   ( D a y s T o M o n t h [ D a t e K i n d ] [ m   -   1 ]   +   L e a p D a y ) )  
 {  
 M o n t h . v a l u e   =   m   -   1 ;  
 i f   ( M o n t h . v a l u e   < =   L e a p M o n t h [ D a t e K i n d ] )   L e a p D a y   =   0 ;  
 D a y . v a l u e   =   D a y s   -   ( D a y s T o M o n t h [ D a t e K i n d ] [ M o n t h . v a l u e   -   1 ]   +   L e a p D a y ) ;  
 b r e a k ;  
 }  
 }  
 r e t u r n   I s D a t e V a l i d ( D a t e K i n d ,   Y e a r ,   M o n t h . v a l u e ,   D a y . v a l u e ) ;  
 }  
  
 f u n c t i o n   G r e g o r i a n T o S o l a r ( Y e a r ,   M o n t h ,   D a y )  
 {  
 v a r   L e a p D a y ,   D a y s ,   P r e v G r e g o r i a n L e a p ,   R e s u l t ;  
 i f   ( I s D a t e V a l i d ( d k G r e g o r i a n ,   Y e a r . v a l u e ,   M o n t h . v a l u e ,   D a y . v a l u e ) )  
 {  
 P r e v G r e g o r i a n L e a p   =   I s L e a p Y e a r ( d k G r e g o r i a n ,   Y e a r . v a l u e   -   1 ) ;  
 D a y s   =   D a y s T o D a t e ( d k G r e g o r i a n ,   Y e a r . v a l u e ,   M o n t h . v a l u e ,   D a y . v a l u e ) ;  
 Y e a r . v a l u e   - =   6 2 2 ;  
 i f   ( I s L e a p Y e a r ( d k S o l a r ,   Y e a r . v a l u e ) )   L e a p D a y   =   1  
 e l s e   L e a p D a y   =   0 ;  
 i f   ( P r e v G r e g o r i a n L e a p   & &   ( L e a p D a y   = =   1 ) )   D a y s   + =   2 8 7  
 e l s e   D a y s   + =   2 8 6 ;  
 i f   ( D a y s   >   ( 3 6 5   +   L e a p D a y ) )  
 {  
 Y e a r . v a l u e + + ;  
 D a y s   - =   ( 3 6 5   +   L e a p D a y ) ;  
 }  
 R e s u l t   =   D a t e O f D a y ( d k S o l a r ,   D a y s ,   Y e a r . v a l u e ,   M o n t h ,   D a y ) ;  
 }  
 e l s e   R e s u l t   =   f a l s e ;  
 r e t u r n   R e s u l t ;  
 }  
  
 f u n c t i o n   S o l a r T o G r e g o r i a n ( Y e a r ,   M o n t h ,   D a y )  
 {  
 v a r   L e a p D a y ,   D a y s ,   P r e v S o l a r L e a p ,   R e s u l t ;  
 i f   ( I s D a t e V a l i d ( d k S o l a r ,   Y e a r . v a l u e ,   M o n t h . v a l u e ,   D a y . v a l u e ) )  
 {  
 P r e v S o l a r L e a p   =   I s L e a p Y e a r ( d k S o l a r ,   Y e a r . v a l u e   -   1 ) ;  
 D a y s   =   D a y s T o D a t e ( d k S o l a r ,   Y e a r . v a l u e ,   M o n t h . v a l u e ,   D a y . v a l u e ) ;  
 Y e a r . v a l u e   + =   6 2 1 ;  
 i f   ( I s L e a p Y e a r ( d k G r e g o r i a n ,   Y e a r . v a l u e ) )   L e a p D a y   =   1  
 e l s e   L e a p D a y   =   0 ;  
 i f   ( P r e v S o l a r L e a p   & &   ( L e a p D a y   =   1 ) )   D a y s   + =   8 0  
 e l s e   D a y s   + =   7 9 ;  
 i f   ( D a y s   >   ( 3 6 5   +   L e a p D a y ) )  
 {  
 Y e a r . v a l u e + + ;  
 D a y s   - =   ( 3 6 5   +   L e a p D a y ) ;  
 }  
 R e s u l t   =   D a t e O f D a y ( d k G r e g o r i a n ,   D a y s ,   Y e a r . v a l u e ,   M o n t h ,   D a y ) ;  
 }  
 e l s e   R e s u l t   =   f a l s e ;  
 r e t u r n   R e s u l t ;  
 }  
  
 v a r   M o n t h N a m e s   =   n e w   A r r a y ( ) ;  
 v a r   W e e k D a y N a m e s   =   n e w   A r r a y ( ) ;  
 v a r   M o n t h D a y N a m e s   =   n e w   A r r a y ( ) ;  
 M o n t h N a m e s   =   [ " & # 1 6 0 1 ; & # 1 5 8 5 ; & # 1 6 0 8 ; & # 1 5 8 5 ; & # 1 5 8 3 ; & # 1 7 4 0 ; & # 1 6 0 6 ; " ,   " & # 1 5 7 5 ; & # 1 5 8 5 ; & # 1 5 8 3 ; & # 1 7 4 0 ; & # 1 5 7 6 ; & # 1 6 0 7 ; & # 1 5 8 8 ; & # 1 5 7 8 ; " ,   " & # 1 5 8 2 ; & # 1 5 8 5 ; & # 1 5 8 3 ; & # 1 5 7 5 ; & # 1 5 8 3 ; " ,   " & # 1 5 7 8 ; & # 1 7 4 0 ; & # 1 5 8 5 ; " ,   " & # 1 6 0 5 ; & # 1 5 8 5 ; & # 1 5 8 3 ; & # 1 5 7 5 ; & # 1 5 8 3 ; " ,   " & # 1 5 8 8 ; & # 1 6 0 7 ; & # 1 5 8 5 ; & # 1 7 4 0 ; & # 1 6 0 8 ; & # 1 5 8 5 ; " ,   " & # 1 6 0 5 ; & # 1 6 0 7 ; & # 1 5 8 5 ; " ,   " & # 1 5 7 0 ; & # 1 5 7 6 ; & # 1 5 7 5 ; & # 1 6 0 6 ; " ,   " & # 1 5 7 0 ; & # 1 5 8 4 ; & # 1 5 8 5 ; " ,   " & # 1 5 8 3 ; & # 1 7 4 0 ; " ,   " & # 1 5 7 6 ; & # 1 6 0 7 ; & # 1 6 0 5 ; & # 1 6 0 6 ; " ,   " & # 1 5 7 5 ; & # 1 5 8 7 ; & # 1 6 0 1 ; & # 1 6 0 6 ; & # 1 5 8 3 ; " ] ;  
 W e e k D a y N a m e s   =   [ " & # 1 7 4 0 ; & # 1 7 0 5 ; & # 1 5 8 8 ; & # 1 6 0 6 ; & # 1 5 7 6 ; & # 1 6 0 7 ; " ,   " & # 1 5 8 3 ; & # 1 6 0 8 ; & # 1 5 8 8 ; & # 1 6 0 6 ; & # 1 5 7 6 ; & # 1 6 0 7 ; " ,   " & # 1 5 8 7 ; & # 1 6 0 7 ;   & # 1 5 8 8 ; & # 1 6 0 6 ; & # 1 5 7 6 ; & # 1 6 0 7 ; " ,   " & # 1 6 7 0 ; & # 1 6 0 7 ; & # 1 5 7 5 ; & # 1 5 8 5 ;   & # 1 5 8 8 ; & # 1 6 0 6 ; & # 1 5 7 6 ; & # 1 6 0 7 ; " ,   " & # 1 6 6 2 ; & # 1 6 0 6 ; & # 1 5 8 0 ;   & # 1 5 8 8 ; & # 1 6 0 6 ; & # 1 5 7 6 ; & # 1 6 0 7 ; " ,   " & # 1 5 8 0 ; & # 1 6 0 5 ; & # 1 5 9 3 ; & # 1 6 0 7 ; " ,   " & # 1 5 8 8 ; & # 1 6 0 6 ; & # 1 5 7 6 ; & # 1 6 0 7 ; " ] ;  
 M o n t h D a y N a m e s   =   [ " & # 1 5 7 5 ; & # 1 6 0 8 ; & # 1 6 0 4 ; " ,   " & # 1 5 8 3 ; & # 1 6 0 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 7 ; & # 1 6 0 8 ; & # 1 6 0 5 ; " ,   " & # 1 6 7 0 ; & # 1 6 0 7 ; & # 1 5 7 5 ; & # 1 5 8 5 ; & # 1 6 0 5 ; " ,   " & # 1 6 6 2 ; & # 1 6 0 6 ; & # 1 5 8 0 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 8 ; & # 1 5 8 8 ; & # 1 6 0 5 ; " ,   " & # 1 6 0 7 ; & # 1 6 0 1 ; & # 1 5 7 8 ; & # 1 6 0 5 ; " ,   " & # 1 6 0 7 ; & # 1 5 8 8 ; & # 1 5 7 8 ; & # 1 6 0 5 ; " ,   " & # 1 6 0 6 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 7 4 0 ; & # 1 5 7 5 ; & # 1 5 8 6 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 3 ; & # 1 6 0 8 ; & # 1 5 7 5 ; & # 1 5 8 6 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 7 ; & # 1 7 4 0 ; & # 1 5 8 6 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 6 7 0 ; & # 1 6 0 7 ; & # 1 5 7 5 ; & # 1 5 8 5 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 6 6 2 ; & # 1 5 7 5 ; & # 1 6 0 6 ; & # 1 5 8 6 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 8 ; & # 1 5 7 5 ; & # 1 6 0 6 ; & # 1 5 8 6 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 6 0 7 ; & # 1 6 0 1 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 6 0 7 ; & # 1 5 8 0 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 6 0 6 ; & # 1 6 0 8 ; & # 1 5 8 6 ; & # 1 5 8 3 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 7 4 0 ; & # 1 7 0 5 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 5 8 3 ; & # 1 6 0 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 5 8 7 ; & # 1 6 0 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 6 7 0 ; & # 1 6 0 7 ; & # 1 5 7 5 ; & # 1 5 8 5 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 6 6 2 ; & # 1 6 0 6 ; & # 1 5 8 0 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 5 8 8 ; & # 1 5 8 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 6 0 7 ; & # 1 6 0 1 ; & # 1 5 7 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 6 0 7 ; & # 1 5 8 8 ; & # 1 5 7 8 ; & # 1 6 0 5 ; " ,   " & # 1 5 7 6 ; & # 1 7 4 0 ; & # 1 5 8 7 ; & # 1 5 7 8 ;   & # 1 6 0 8 ;   & # 1 6 0 6 ; & # 1 6 0 7 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 7 ; & # 1 7 4 0 ;   & # 1 5 7 5 ; & # 1 6 0 5 ; " ,   " & # 1 5 8 7 ; & # 1 7 4 0 ;   & # 1 6 0 8 ;   & # 1 7 4 0 ; & # 1 7 0 5 ; & # 1 6 0 5 ; " ] ;  
  
 f u n c t i o n   C o n v e r t S t r ( D a t e S t r ,   F o r m a t )  
 {  
 v a r   R e s u l t ;  
 v a r   O b j D a t e   =   n e w   D a t e ( ) ;  
 v a r   S p l D a t e   =   D a t e S t r . s p l i t ( " / " ) ;    
 v a r   M   =   n e w   I n t e g e r ( p a r s e I n t ( S p l D a t e [ 0 ] ) ) ;  
 v a r   D   =   n e w   I n t e g e r ( p a r s e I n t ( S p l D a t e [ 1 ] ) ) ;  
 v a r   Y   =   n e w   I n t e g e r ( p a r s e I n t ( S p l D a t e [ 2 ] ) ) ;  
 O b j D a t e . s e t F u l l Y e a r ( Y . v a l u e ) ;  
 O b j D a t e . s e t M o n t h ( M . v a l u e   -   1 ) ;  
 O b j D a t e . s e t D a t e ( D . v a l u e ) ;  
 v a r   W   =   O b j D a t e . g e t D a y ( ) ;  
  
 i f   ( G r e g o r i a n T o S o l a r ( Y ,   M ,   D ) )  
 s w i t c h   ( F o r m a t )  
 {  
 c a s e   0 :  
 R e s u l t   =   D . v a l u e   +   " / "   +   M . v a l u e   +   " / "   +   Y . v a l u e ;  
 b r e a k ;  
 c a s e   1 :  
 R e s u l t   =   D . v a l u e   +   " / "   +   M . v a l u e   +   " / "   +   ( Y . v a l u e   -   M a t h . f l o o r ( Y . v a l u e   /   1 0 0 )   *   1 0 0 ) ;  
 b r e a k ;  
 c a s e   2 :  
 R e s u l t   =   ( D . v a l u e   +   "   "   +   M o n t h N a m e s [ M . v a l u e   -   1 ]   +   "   "   +   Y . v a l u e ) ;  
 b r e a k ;  
 c a s e   3 :  
 R e s u l t   =   ( M o n t h D a y N a m e s [ D . v a l u e   -   1 ]   +   "   "   +   M o n t h N a m e s [ M . v a l u e   -   1 ]   +   "   "   +   Y . v a l u e ) ;  
 b r e a k ;  
 c a s e   4 :  
 R e s u l t   =   ( M o n t h D a y N a m e s [ D . v a l u e   -   1 ]   +   "   "   +   M o n t h N a m e s [ M . v a l u e   -   1 ]   +   "   & # 1 6 0 5 ; & # 1 5 7 5 ; & # 1 6 0 7 ;   "   +   Y . v a l u e ) ;    
 b r e a k ;  
 c a s e   5 :  
 R e s u l t   =   W e e k D a y N a m e s [ W ]   +   " & # 1 5 4 8 ;   "   +   D . v a l u e   +   " / "   +   M . v a l u e   +   " / "   +   Y . v a l u e ;  
 b r e a k ;  
 c a s e   6 :  
 R e s u l t   =   W e e k D a y N a m e s [ W ]   +   " & # 1 5 4 8 ;   "   +   D . v a l u e   +   " / "   +   M . v a l u e   +   " / "   +   ( Y . v a l u e   -   M a t h . f l o o r ( Y . v a l u e   /   1 0 0 )   *   1 0 0 ) ;  
 b r e a k ;  
 c a s e   7 :  
 R e s u l t   =   W e e k D a y N a m e s [ W ]   +   " & # 1 5 4 8 ;   "   +   ( D . v a l u e   +   "   "   +   M o n t h N a m e s [ M . v a l u e   -   1 ]   +   "   "   +   Y . v a l u e ) ;  
 b r e a k ;  
 c a s e   8 :  
 R e s u l t   =   W e e k D a y N a m e s [ W ]   +   " & # 1 5 4 8 ;   "   +   ( M o n t h D a y N a m e s [ D . v a l u e   -   1 ]   +   "   "   +   M o n t h N a m e s [ M . v a l u e   -   1 ]   +   "   "   +   Y . v a l u e ) ;  
 b r e a k ;  
 c a s e   9 :  
 R e s u l t   =   W e e k D a y N a m e s [ W ]   +   " & # 1 5 4 8 ;   "   +   ( M o n t h D a y N a m e s [ D . v a l u e   -   1 ]   +   "   "   +   M o n t h N a m e s [ M . v a l u e   -   1 ]   +   "   & # 1 6 0 5 ; & # 1 5 7 5 ; & # 1 6 0 7 ;   "   +   Y . v a l u e ) ;    
 b r e a k ;  
 d e f a u l t :  
 R e s u l t   =   D . v a l u e   +   " / "   +   M . v a l u e   +   " / "   +   Y . v a l u e ;  
 b r e a k ;  
 }  
 e l s e  
 R e s u l t   =   " E r r o r   c o n v e r t i n g   d a t e . " ;  
 r e t u r n   R e s u l t ;  
 }    
  
 f u n c t i o n   C o n v e r t D a t e T a g ( D a t e S t r ,   F o r m a t )  
 {  
 / / r e t u r n   " < d i v   a l i g n = r i g h t   d i r = r t l > "   +   C o n v e r t S t r ( D a t e S t r ,   F o r m a t )   +   " < / d i v > " ;  
 r e t u r n   C o n v e r t S t r ( D a t e S t r ,   F o r m a t ) ;  
 }  
  
 f u n c t i o n   C o n v e r t A r c h i v e T a g ( D a t e s S t r ,   F o r m a t )  
 {  
 v a r   D a t e s   =   n e w   A r r a y ( ) ;  
 D a t e s   =   D a t e s S t r . s p l i t ( " - " ) ;  
 v a r   R e s u l t   =   C o n v e r t S t r ( D a t e s [ 0 ] ,   F o r m a t )   +   "   -   "   +   C o n v e r t S t r ( D a t e s [ 1 ] ,   F o r m a t ) ;  
 r e t u r n   " < d i v   a l i g n = r i g h t   d i r = r t l > "   +   R e s u l t   +   " < / d i v > " ;  
 } 
