
05/03/2002, 22:22
|
 | | | Fecha de Ingreso: febrero-2002 Ubicación: Lima
Mensajes: 34
Antigüedad: 23 años, 4 meses Puntos: 0 | |
Re: Problemas con fecha Prueba con la funcion getdate() si estas trabajando con SQL-Server
strSql = "update topics set T_Last_Post = getdate(), T_Replies = T_Replies + 1 where Topic_ID = " & Request.Form("topic_id")
:)
o sino
strSql = "update topics set T_Last_Post = ' " & now () & " ', T_Replies = T_Replies + 1 where Topic_ID = " & Request.Form("topic_id")
Ojo que es comilla simple y luego comilla doble ' " & now() & ' " y luego cierras con comilla simple y doble
<OBJECT WIDTH=200 HEIGHT=50><PARAM NAME=movie VALUE="http://www.geocities.com/wamoretti/wamoretti.swf"><PARAM NAME=wmode VALUE=transparent><EMBED src="http://www.geocities.com/wamoretti/wamoretti.swf" wmode=transparent WIDTH=200 HEIGHT=50></EMBED></OBJECT |