Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on StumbleUponShare this topic on TwitterShare this topic on GoogleShare this topic on Yahoo

Author Topic: Trik coding ambil tanggal dari server  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

Offline karl_meyr

  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 56
Trik coding ambil tanggal dari server
« on: January 13, 2010, 04:47:10 PM »
Para senior foxer,

Apakah ada syntax di visual foxpro yang bisa mengambil / menyamakan tanggal dan jam dari server (SQL) agar tanggal dan jam transaksi tidak dimanipulasi oleh user ?

Terima kasih sebelumnya atas bantuan para senior.

"TEUTEUP SEMANGAT !!!"

Offline harry_buana

  • Junior Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 365
  • every one has its own capability
Re: Trik coding ambil tanggal dari server
« Reply #1 on: January 13, 2010, 04:50:22 PM »
dear karl_meyr,

sudah coba select datetime() ??
tq.

-seeker-

Offline davidmustakim

  • Fox-id M.V.P
  • Hero Member
  • *
  • Thank You
  • -Given: 1
  • -Receive: 22
  • Posts: 4599
Re: Trik coding ambil tanggal dari server
« Reply #2 on: January 13, 2010, 04:53:14 PM »
gunakan aja kolom/field timestamp untuk setiap insert/update

Online cahe.dhewe

  • Full Member
  • *
  • Thank You
  • -Given: 9
  • -Receive: 1
  • Posts: 57
Re: Trik coding ambil tanggal dari server
« Reply #3 on: January 17, 2010, 03:39:53 PM »
sqlexec(kon,select now() dst...