Navigation:  thinBasic Modules > DT (Date Handling) >

DT_CookieDate

Previous pageReturn to chapter overviewNext page

 

Description

 

Formats a date for internet cookies using the local default date format.

 

Syntax

 

s = DT_CookieDate(nDays)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

nDays

Number

No

The number of day to add to the current date.

 

Remarks

 

Returns a date string as request for use within cookies.

Restrictions

 

 

 

See also

 

DT_DateFormat

 

Examples

 

MsgBox 0, DT_CookieDate(0)

' results 'mer, 15-giu-2005 08:53:39 GMT'

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com