You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.
date = new Date();
// Sat Jun 14 2014 13:15:27 GMT+0200 (CEST)
dateStringISO = date.toISOString();
// "2014-06-14T11:15:27.097Z" // Attention: Time is different because of the timezone
date.toISOString().substring(0,10);
//"2014-06-14"
dateStringISO.split("T")[1];
// 11:15:27.097Z
216
ORACLE PL/SQL
Datum, Zeit
Aktuelles Datum/Uhrzeit
-- if todays date is: 2014-02-02 then a static query would be
SELECT TO_DATE('02/02/2014','dd/mm/yyyy') FROM dual
-- system variable
SELECT SYSDATE AS TODAY FROM SYS."DUAL"
234
PowerShell
Datum, Zeit
Aktuelles Datum/Uhrzeit
$myDate=Get-Date -format "yyyy-MM-dd hh:mm";
write-host $myDate -Foregroundcolor Cyan;
# 2014-01-14 10:15 # Maybe AM or PM
# For 24h Version
$myDate=Get-Date -format "yyyy-MM-dd HH:mm";
write-host $myDate -Foregroundcolor Cyan;
# 2014-01-14 22:15
5
VB.NET
GUI, MDI-Fenster
Auf ein Object eines MDIChilds zugreifen
Dim oForm As Form
For Each oForm In Me.MdiChildren
If Not TypeName(oForm) = "MDIForm" Then
If oForm.Name = "frmHotel" Then
MessageBox.Show(oForm.GetType.ToString + "|" + CType(oForm, frmHotel).hotelid.ToString)
End If
End If
Next
4
VB.NET
GUI, MDI-Fenster
Alle MDIChilds durchlaufen
Dim oForm As Form
For Each oForm In Me.MdiChildren
If Not TypeName(oForm) = "MDIForm" Then
If oForm.Name = "frmHotel" Then
' Es gibt mind. 1 geöffnetes Browser-Fenster
' ...
End If
End If
Next
3
VB.NET
GUI, MDI-Fenster
Aktives MDIChild und dessen Elemente
If Me.ActiveMdiChild IsNot Nothing Then
Dim frm As SubForm = CType(Me.ActiveMdiChild, SubForm)
frm.textBox1.Text = "......."
End If
' Beispiel:
If Me.ActiveMdiChild IsNot Nothing Then
If Me.ActiveMdiChild.Name="frmHotel" Then
Dim frm As frmHotel = CType(Me.ActiveMdiChild, frmHotel)
MessageBox.Show(frm.hotelid)
End If
End If
2
PHP
HTTP Form Submit
GET Link-Parameter lesen
$getparam = $_GET['linkparameter'];
17
Caché
HTTP Form Submit
GET Link-Parameter lesen
; http://localhost:1972/csp/test/page.csp?name=john
Set linkparm=$Get(%request.Data("name",1))
Write !,linkparm ; = john