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 something like 'mer, 15-giu-2005 08:53:39 GMT'