Jump to content
Sign in to follow this  
cristpate

Comando Datatime

Recommended Posts

cristpate

eu tenho uma duvida simples mas que esta me dar dor de cabeça

e acerca do tipo de dado datatime, eu tenho um formulario e gostaria que ele preenchece automaticamente o campo datatime

fazer com que ele preencha a data ou o tempo automaticamente eu consigo fazer com os comandos:

CURDATE() e CURTIME() respectivamente

mas para o datatime nao estou a conseguir

deem me um help.


craziness it's to do the same thing over and over again expecting a different result

Share this post


Link to post
Share on other sites
n3lThon

Que sistema de base de dados estás a usar?


dreams.each do |dream|

   dream.make_it_happen

end

Share this post


Link to post
Share on other sites
cristpate

desculpa nao ter dito antes mas o sistema de base de dados que estou a utilizar e o

mysql server com a linguagem php


craziness it's to do the same thing over and over again expecting a different result

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.